|
@@ -11,13 +11,16 @@ import com.lantone.report.dto.GetAppealReviewDTO;
|
|
|
import com.lantone.report.dto.GetComplaintRecordDTO;
|
|
|
import com.lantone.report.entity.AppealExamineInfo;
|
|
|
import com.lantone.report.entity.AppealInfo;
|
|
|
+import com.lantone.report.entity.QcresultDetail;
|
|
|
import com.lantone.report.enums.AppealOperationTypeEnum;
|
|
|
import com.lantone.report.enums.ExampleStatusEnum;
|
|
|
import com.lantone.report.facade.base.AppealExamineInfoFacade;
|
|
|
import com.lantone.report.facade.base.AppealInfoFacade;
|
|
|
+import com.lantone.report.facade.base.QcresultDetailFacade2;
|
|
|
import com.lantone.report.vo.GetAppealInfoVO;
|
|
|
import com.lantone.report.vo.GetAppealReviewVO;
|
|
|
import com.lantone.report.vo.GetAuditNumberVO;
|
|
|
+import com.lantone.report.vo.GetComplaintDetailMsgVO;
|
|
|
import com.lantone.report.vo.GetComplaintRecordVO;
|
|
|
import com.lantone.report.vo.RejectedVo;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -42,6 +45,8 @@ public class MedAppealExamineInfoManagementFacade {
|
|
|
private AppealInfoFacade appealInfoFacade;
|
|
|
@Autowired
|
|
|
MedAppealInfoManagementFacade medAppealInfoManagementFacade;
|
|
|
+ @Autowired
|
|
|
+ QcresultDetailFacade2 qcresultDetailFacade2;
|
|
|
|
|
|
/**
|
|
|
* 申诉记录列表
|
|
@@ -133,4 +138,20 @@ public class MedAppealExamineInfoManagementFacade {
|
|
|
return getAppealInfoDTO;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取该申诉记录最新缺陷详情
|
|
|
+ *
|
|
|
+ * @param getComplaintDetailMsgVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public String 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();
|
|
|
+ }
|
|
|
+
|
|
|
}
|