Przeglądaj źródła

增加获取该申诉最新detail信息

zhanghang 3 lat temu
rodzic
commit
51cde495a8

+ 2 - 2
report-service/src/main/java/com/lantone/report/facade/MedAppealExamineInfoManagementFacade.java

@@ -144,14 +144,14 @@ public class MedAppealExamineInfoManagementFacade {
      * @param getComplaintDetailMsgVO
      * @return
      */
-    public String getComplaintDetailMsg(GetComplaintDetailMsgVO getComplaintDetailMsgVO) {
+    public QcresultDetail getComplaintDetailMsg(GetComplaintDetailMsgVO getComplaintDetailMsgVO) {
         QcresultDetail qcresultDetail = qcresultDetailFacade2.getOne(new QueryWrapper<QcresultDetail>()
                 .eq("behospital_code", getComplaintDetailMsgVO.getBehospitalCode())
                 .eq("id", getComplaintDetailMsgVO.getId())
                 .eq("cases_entry_id", getComplaintDetailMsgVO.getCasesEntryId())
                 .eq("hospital_id", getComplaintDetailMsgVO.getHospitalId())
         );
-        return qcresultDetail.getMsg();
+        return qcresultDetail;
     }
 
 }

+ 2 - 1
report-service/src/main/java/com/lantone/report/web/MedAppealExamineInfoManagementController.java

@@ -7,6 +7,7 @@ import com.lantone.common.api.CommonResult;
 import com.lantone.report.dto.GetAppealInfoDTO;
 import com.lantone.report.dto.GetAppealReviewDTO;
 import com.lantone.report.dto.GetComplaintRecordDTO;
+import com.lantone.report.entity.QcresultDetail;
 import com.lantone.report.facade.MedAppealExamineInfoManagementFacade;
 import com.lantone.report.vo.GetAppealInfoVO;
 import com.lantone.report.vo.GetAppealReviewVO;
@@ -80,7 +81,7 @@ public class MedAppealExamineInfoManagementController {
     @ApiOperation(value = "获取该申诉记录最新缺陷详情[by:zhanghang]",
             notes = "获取该申诉记录最新缺陷详情")
     @PostMapping("/getComplaintDetailMsg")
-    public CommonResult<String> getComplaintDetailMsg(@RequestBody GetComplaintDetailMsgVO getComplaintDetailMsgVO) {
+    public CommonResult<QcresultDetail> getComplaintDetailMsg(@RequestBody GetComplaintDetailMsgVO getComplaintDetailMsgVO) {
         return CommonResult.success(medAppealExamineInfoManagementFacade.getComplaintDetailMsg(getComplaintDetailMsgVO));
     }
 }