update
This commit is contained in:
@@ -188,7 +188,8 @@ public class ExperimentServiceImpl extends ServiceImpl<ExperimentMapper, Experim
|
||||
Experiment dbData = getById(experimentId);
|
||||
switch (status) {
|
||||
case ExperimentStatus.COMPLETED:
|
||||
if (!StringUtils.equals(dbData.getStatus(), ExperimentStatus.PROGRESSING)) {
|
||||
if (!StringUtils.equals(dbData.getStatus(), ExperimentStatus.PROGRESSING)
|
||||
|| !StringUtils.equals(dbData.getStatus(), ExperimentStatus.REPORT_AUDITING)) {
|
||||
throw new IllegalArgumentException("试验状态不正确!");
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user