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

申诉审核v2.2.0审核通过处理方式修改

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

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

@@ -55,7 +55,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
         optResultAlgVO.setExplainInfo(approvedVo.getRemark());
         //获取处理方式
         String handling = approvedVo.getExampleOperation();
-        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.UP_OR_DEL.getName())){
+        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.UP_OR_DEL.getKey())){
             //调用删除接口
             optResultAlgVO.setCasesEntryId(approvedVo.getQcresultDetailId());
             qcresultVO.setOptResultAlgVO(optResultAlgVO);
@@ -82,7 +82,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
                 throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "删除失败!");
             }
         }
-        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.UP_OR_UP.getName())){
+        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.UP_OR_UP.getKey())){
             //调用修改接口
             optResultAlgVO.setCasesEntryId(approvedVo.getQcresultDetailId());
             qcresultVO.setOptResultAlgVO(optResultAlgVO);
@@ -108,7 +108,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
                 throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "修改失败!");
             }
         }
-        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.ADD_EXIST.getName())){
+        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.ADD_EXIST.getKey())){
             optResultAlgVO.setCasesEntryId(approvedVo.getCasesEntryId());
             qcresultVO.setOptResultAlgVO(optResultAlgVO);
             //判断是否已存在该条目
@@ -155,7 +155,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
                 throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "新增失败!");
             }
         }
-        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.RECOVER.getName())){
+        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.RECOVER.getKey())){
             optResultAlgVO.setCasesEntryId(approvedVo.getQcresultDetailId());
             qcresultVO.setOptResultAlgVO(optResultAlgVO);
             qcresultVO.setType(4);
@@ -182,7 +182,7 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
                 throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED, "恢复失败!");
             }
         }
-        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.ADD_NO_EXIST.getName())){
+        if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.ADD_NO_EXIST.getKey())){
             optResultAlgVO.setCasesEntryId(approvedVo.getQcresultDetailId());
             qcresultVO.setOptResultAlgVO(optResultAlgVO);
             qcresultVO.setDelStatus(0);

+ 1 - 1
src/main/java/com/diagbot/vo/ApprovedVo.java

@@ -34,7 +34,7 @@ public class ApprovedVo {
     @ApiModelProperty(value = "病人住院序号",required = true)
     private String behospitalCode;
 
-    @ApiModelProperty(value = "处理方式",required = true)
+    @ApiModelProperty(value = "处理方式(1:修改|2:删除|3:新增已有|4:新增缺失|5:恢复)",required = true)
     private String exampleOperation;
 
     @ApiModelProperty(value = "处理结果",required = true)