|
@@ -52,8 +52,6 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
|
|
|
private MedAppealInfoManagementFacade medAppealInfoManagementFacade;
|
|
|
@Autowired
|
|
|
private QcresultInfoFacade qcresultInfoFacade;
|
|
|
- @Autowired
|
|
|
- private QcCasesEntryFacade qcCasesEntryFacade ;
|
|
|
|
|
|
/**
|
|
|
* 审核通过
|
|
@@ -141,14 +139,8 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
|
|
|
AnalyzeDTO analyzeDTORespDTO = qcresultInfoFacade.changeQcResult(qcresultVO);
|
|
|
if(analyzeDTORespDTO.getIsSuccess()){
|
|
|
QcresultDetail detail = getQcresultDetail(approvedVo);
|
|
|
- QcCasesEntry qcCasesEntry = qcCasesEntryFacade.getOne(new QueryWrapper<QcCasesEntry>()
|
|
|
- .eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
- .eq("id", approvedVo.getQcResultAlgVO().getCasesEntryId())
|
|
|
- );
|
|
|
MedAppealInfo medAppealInfo = new MedAppealInfo();
|
|
|
medAppealInfo.setQcresultDetailId(detail.getId());
|
|
|
- medAppealInfo.setCasesEntryName(qcCasesEntry.getName());
|
|
|
- medAppealInfo.setQcresultDetailMsg(detail.getMsg());
|
|
|
medAppealInfo.setWorkFlowNodeId(approvedVo.getWorkFlowNodeId());
|
|
|
boolean update = medAppealInfoManagementFacade.update(medAppealInfo, new UpdateWrapper<MedAppealInfo>()
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
@@ -178,10 +170,15 @@ public class MedAppealExamineInfoManagementFacade extends MedAppealExamineInfoSe
|
|
|
if(StringUtil.isNotEmpty(handling) && handling.equals(ExampleOperationEnum.RECOVER.getKey())){
|
|
|
qcresultVO.setType(4);
|
|
|
qcresultVO.setDelStatus(1);
|
|
|
- //调用删除接口
|
|
|
+ //调用删除恢复接口
|
|
|
AnalyzeDTO analyzeDTORespDTO = qcresultInfoFacade.changeQcResult(qcresultVO);
|
|
|
if(analyzeDTORespDTO.getIsSuccess()){
|
|
|
- QcresultDetail qcresultDetail = getQcresultDetail(approvedVo);
|
|
|
+ QcresultDetail qcresultDetail = qcresultDetailFacade.getOne(new QueryWrapper<QcresultDetail>()
|
|
|
+ .eq("hospital_id", approvedVo.getHospitalId())
|
|
|
+ .eq("behospital_code", approvedVo.getBehospitalCode())
|
|
|
+ .eq("cases_entry_id", approvedVo.getQcResultAlgVO().getCasesEntryId())
|
|
|
+ .eq("grade_type",2)
|
|
|
+ );
|
|
|
approvedVo.setQcresultDetailId(qcresultDetail.getId());
|
|
|
Boolean appealInfo = updateAppealInfo(approvedVo);
|
|
|
MedAppealExamineInfo medAppealExamineInfo = new MedAppealExamineInfo();
|