|
@@ -388,8 +388,15 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
|
|
}
|
|
}
|
|
result.setAuditNumber(appealNumber);
|
|
result.setAuditNumber(appealNumber);
|
|
|
|
|
|
|
|
+
|
|
|
|
+ Long total = 0L;
|
|
|
|
+ List<AuditInfoListResponse> auditInfoListResponseList = new ArrayList<>();
|
|
//获取违规的detail数据
|
|
//获取违规的detail数据
|
|
- List<AuditInfoListResponse> auditInfoListResponseList = baseMapper.loadAuditInfoList(page, id);
|
|
|
|
|
|
+ IPage<AuditInfoListResponse> resultPages = baseMapper.loadAuditInfoList(page, id);
|
|
|
|
+ if (resultPages != null) {
|
|
|
|
+ auditInfoListResponseList = resultPages.getRecords();
|
|
|
|
+ total = resultPages.getTotal();
|
|
|
|
+ }
|
|
if (!CollectionUtils.isEmpty(auditInfoListResponseList)) {
|
|
if (!CollectionUtils.isEmpty(auditInfoListResponseList)) {
|
|
for (AuditInfoListResponse auditInfoListResponse : auditInfoListResponseList) {
|
|
for (AuditInfoListResponse auditInfoListResponse : auditInfoListResponseList) {
|
|
// 计算异常多收-少收
|
|
// 计算异常多收-少收
|
|
@@ -406,6 +413,7 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
|
|
}
|
|
}
|
|
result.setDetailList(auditInfoListResponseList);
|
|
result.setDetailList(auditInfoListResponseList);
|
|
}
|
|
}
|
|
|
|
+ result.setTotal(total);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -493,10 +501,18 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
|
|
PatientInfoResponse patientInfo = baseMapper.loadInpatientSettlementInfo(id);
|
|
PatientInfoResponse patientInfo = baseMapper.loadInpatientSettlementInfo(id);
|
|
String hisid = patientInfo.getSettlementBillNumber();
|
|
String hisid = patientInfo.getSettlementBillNumber();
|
|
// 获取医保项目明细
|
|
// 获取医保项目明细
|
|
- List<MedicalInsuranceProjectDetailsResponse> medicalInsuranceProjects = baseMapper.loadMedicalInsuranceProjectDetails(page, hisid);
|
|
|
|
|
|
+ IPage<MedicalInsuranceProjectDetailsResponse> medicalInsuranceProjects = baseMapper.loadMedicalInsuranceProjectDetails(page, hisid);
|
|
InpatientSettlementDetailResponse r = new InpatientSettlementDetailResponse();
|
|
InpatientSettlementDetailResponse r = new InpatientSettlementDetailResponse();
|
|
r.setPatientInfo(patientInfo);
|
|
r.setPatientInfo(patientInfo);
|
|
- r.setHospitalizationSettleDetailResponse(medicalInsuranceProjects);
|
|
|
|
|
|
+
|
|
|
|
+ List<MedicalInsuranceProjectDetailsResponse> records = new ArrayList<>();
|
|
|
|
+ Long total = 0L;
|
|
|
|
+ if (medicalInsuranceProjects != null) {
|
|
|
|
+ records = medicalInsuranceProjects.getRecords();
|
|
|
|
+ total = medicalInsuranceProjects.getTotal();
|
|
|
|
+ }
|
|
|
|
+ r.setHospitalizationSettleDetailResponse(records);
|
|
|
|
+ r.setTotal(total);
|
|
return r;
|
|
return r;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -520,8 +536,8 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public List<InpatientSettlementMasterResponse> loadInpatientSettlementMaster(Integer id) {
|
|
|
|
- return baseMapper.loadInpatientSettlementMaster(id);
|
|
|
|
|
|
+ public IPage<InpatientSettlementMasterResponse> loadInpatientSettlementMaster(Page<MedicalInsuranceProjectDetailsResponse> page, Integer id) {
|
|
|
|
+ return baseMapper.loadInpatientSettlementMaster(page, id);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|