|
|
@ -340,7 +340,7 @@ public class StudyServiceImpl extends ServiceImpl implements |
|
|
if(study==null){ |
|
|
if(study==null){ |
|
|
throw new ServiceException("信息不存在"); |
|
|
throw new ServiceException("信息不存在"); |
|
|
} |
|
|
} |
|
|
if(study.getStatus().equals(StudyStatusEnum.ysd.getValue())){ |
|
|
|
|
|
|
|
|
if(study.getStatus().compareTo(StudyStatusEnum.ysd.getValue())>=0){ |
|
|
throw new ServiceException("该试验已锁定"); |
|
|
throw new ServiceException("该试验已锁定"); |
|
|
} |
|
|
} |
|
|
checkPermit(study); |
|
|
checkPermit(study); |
|
|
|