Просмотр исходного кода

Merge branch 'dev/20220105_2.2.0_通用版_申诉驳回' into test

zhanghang 3 лет назад
Родитель
Сommit
42d5a09132

+ 3 - 3
src/main/java/com/diagbot/facade/MedAppealExamineInfoManagementFacade.java

@@ -82,7 +82,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
         if (StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.UP_OR_DEL.getKey())) {
             QcresultDetail detail = getQcresultDetail(approvedVo);
             if (detail == null) {
-                throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "该条目不存在,请走驳回流程!");
+                throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "该条目已删除,无法进行审核操作,请走驳回流程。");
             }
             //调用删除接口
             qcresultVO.setDelStatus(0);
@@ -113,7 +113,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
         if (StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.UP_OR_UP.getKey())) {
             QcresultDetail detail = getQcresultDetail(approvedVo);
             if (detail == null) {
-                throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "该条目不存在,请走驳回流程!");
+                throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "该条目已删除,无法进行审核操作,请走驳回流程。");
             }
             //调用修改接口
             qcresultVO.setType(3);
@@ -191,7 +191,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
                     .eq("grade_type", 2)
             );
             if (qcresultDetail == null) {
-                throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "该条目不存在,请走驳回流程!");
+                throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "该条目已删除,无法进行审核操作,请走驳回流程。");
             }
             AnalyzeDTO analyzeDTORespDTO = qcresultInfoFacade.changeQcResult(qcresultVO);
             if (analyzeDTORespDTO.getIsSuccess()) {