From a36888f669946c3d6e745c44ca4fc7405cf78b9f Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期五, 09 八月 2024 19:51:20 +0800 Subject: [PATCH] 1.完善治疗单修改逻辑 --- phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java b/phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java index 8136659..8ce9114 100644 --- a/phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java +++ b/phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java @@ -684,7 +684,7 @@ throw new TipsException("鏌ヨ涓嶅埌鍘熸不鐤楀崟椤圭洰淇℃伅锛�"); } - if(StringUtils.noNull(oldData.getUserProjectItemId()) && oldData.getUserProjectItemId().equals(treatProject.getUserProjectItemId())){ + if(StringUtils.noNull(oldData.getUserProjectItemId()) && !oldData.getUserProjectItemId().equals(treatProject.getUserProjectItemId())){ throw new TipsException("宸茶喘涔版不鐤楀崟椤圭洰涓嶅彲鏇挎崲锛�"); } } -- Gitblit v1.8.0