diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyServiceImpl.java index 74568dc..2063a7e 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyServiceImpl.java @@ -340,7 +340,7 @@ public class StudyServiceImpl extends ServiceImpl implements if(study==null){ throw new ServiceException("信息不存在"); } - if(study.getStatus().equals(StudyStatusEnum.ysd.getValue())){ + if(study.getStatus().compareTo(StudyStatusEnum.ysd.getValue())>=0){ throw new ServiceException("该试验已锁定"); } checkPermit(study);