enum add status saved

This commit is contained in:
Captain.B 2020-04-15 14:48:58 +08:00
parent 44549ee5b6
commit 5db5974cc4
1 changed files with 2 additions and 1 deletions

View File

@ -164,7 +164,8 @@ public class PerformanceTestService {
loadTest.setLoadConfiguration(request.getLoadConfiguration());
loadTest.setAdvancedConfiguration(request.getAdvancedConfiguration());
loadTest.setTestResourcePoolId(request.getTestResourcePoolId());
loadTest.setStatus(PerformanceTestStatus.Saved.name());
// todo 修改 load_test 的时候排除状态这里存在修改了 Running 的测试状态的风险
// loadTest.setStatus(PerformanceTestStatus.Saved.name());
loadTestMapper.updateByPrimaryKeySelective(loadTest);
}