Experiment edit
This commit is contained in:
@@ -169,10 +169,10 @@ public class ExperimentController extends JeecgController<Experiment, IExperimen
|
||||
return Result.error("实验编号格式不正确!");
|
||||
}
|
||||
//校验试验的基本信息
|
||||
String result = validateSampleInfos(experiment);
|
||||
if (StringUtils.isNotBlank(result)) {
|
||||
return Result.error(result);
|
||||
}
|
||||
//String result = validateSampleInfos(experiment);
|
||||
//if (StringUtils.isNotBlank(result)) {
|
||||
// return Result.error(result);
|
||||
//}
|
||||
|
||||
experiment.setStatus(ExperimentStatus.PRE_TEST);
|
||||
experimentService.saveWithDetail(experiment);
|
||||
@@ -315,10 +315,10 @@ public class ExperimentController extends JeecgController<Experiment, IExperimen
|
||||
}
|
||||
|
||||
//校验试验的基本信息
|
||||
String result = validateSampleInfos(experiment);
|
||||
if (StringUtils.isNotBlank(result)) {
|
||||
return Result.error(result);
|
||||
}
|
||||
//String result = validateSampleInfos(experiment);
|
||||
//if (StringUtils.isNotBlank(result)) {
|
||||
// return Result.error(result);
|
||||
//}
|
||||
|
||||
experimentService.saveWithDetail(experiment);
|
||||
ExperimentLog experimentLog = new ExperimentLog();
|
||||
|
||||
Reference in New Issue
Block a user