From e23d7075318e7315920d5653b3db713c07e7c3e1 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 6 Feb 2026 17:48:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E8=AF=95=E9=AA=8C=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20status>=3D5=E7=9A=84=E9=83=BD=E4=B8=8D=E8=83=BD=E9=94=81?= =?UTF-8?q?=E5=AE=9A=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hxhq/business/service/impl/StudyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);