refactor(接口测试): 代码优化,去除多余更新操作
This commit is contained in:
parent
ebc898a325
commit
65d7bf5961
|
@ -1913,8 +1913,6 @@ public class ApiDefinitionService {
|
||||||
res.setCasePassingRate("-");
|
res.setCasePassingRate("-");
|
||||||
res.setCaseStatus("-");
|
res.setCaseStatus("-");
|
||||||
}
|
}
|
||||||
|
|
||||||
apiDefinitionMapper.updateByPrimaryKeySelective(res);
|
|
||||||
if (StringUtils.equalsIgnoreCase("esb", res.getMethod())) {
|
if (StringUtils.equalsIgnoreCase("esb", res.getMethod())) {
|
||||||
esbApiParamService.handleApiEsbParams(res);
|
esbApiParamService.handleApiEsbParams(res);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue