Przeglądaj źródła

当条目不存在时审核通过提示信息修改

zhanghang 3 lat temu
rodzic
commit
811fd465d3

+ 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()) {