From 214b0462236390399ea184b3c4a3993fc0daf504 Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期五, 08 十二月 2023 10:10:07 +0800
Subject: [PATCH] Merge branch 'master-prod-new' into fhx-prod-分配治疗修改

---
 phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java |    5 +++++
 1 files changed, 5 insertions(+), 0 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 a5a83a4..da50b7f 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
@@ -152,6 +152,11 @@
             throw new PlatTipsException(PlatformCode.ERROR_PARAMETER_NULL, "鏈壘鍒�");
         }
 
+
+        if(updateTreat.getStatus() == TreatSingleConstants.STATUS_CANCEL){
+            throwParamException("浣滃簾娌荤枟閫氱煡鍗曚笉鍙慨鏀癸紒");
+        }
+
         if(StringUtils.isEmpty(reqVo.getRoleId())){
             throw new PlatTipsException(PlatformCode.ERROR_PARAMETER_TYPE, "鎿嶄綔浜鸿鑹叉爣璇嗕负绌�");
         }

--
Gitblit v1.8.0