gaodm 4 年 前
コミット
70097374af
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/main/java/com/diagbot/facade/PlanFacade.java

+ 2 - 2
src/main/java/com/diagbot/facade/PlanFacade.java

@@ -104,7 +104,7 @@ public class PlanFacade extends PlanServiceImpl {
                 .eq("plan_name", hospitalPlanSaveVO.getPlanName())
                 .ne("id", hospitalPlanSaveVO.getId() == null ? -1 : hospitalPlanSaveVO.getId()));
         if (count > 0) {
-            throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "相同【医院】下,方案名称已存在");
+            throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "方案名称已存在");
         }
         int countTow = this.count(new QueryWrapper<Plan>()
                 .eq("is_deleted", IsDeleteEnum.N.getKey())
@@ -112,7 +112,7 @@ public class PlanFacade extends PlanServiceImpl {
                 .eq("plan_code", hospitalPlanSaveVO.getPlanCode())
                 .ne("id", hospitalPlanSaveVO.getId() == null ? -1 : hospitalPlanSaveVO.getId()));
         if (countTow > 0) {
-            throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "相同【医院】下,方案编码已存在");
+            throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "方案编码已存在");
         }
         if (hospitalPlanSaveVO.getId() != null) {
             UpdateWrapper<Plan> planQuery = new UpdateWrapper<>();