|
|
@@ -119,20 +119,20 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
public IPage<AuditMidDetailListResponse> loadMidAuditPageList(AuditMidDetailListRequest request, Integer pageNo, Integer pageSize, Map<String, String[]> parameterMap) {
|
|
|
Page<AuditMidDetailListResponse> page = new Page<>(pageNo, pageSize);
|
|
|
IPage<AuditMidDetailListResponse> resultPage = midIncidentAuditService.loadMidAuditPageList(page, request);
|
|
|
- List<AuditMidDetailListResponse> records = resultPage.getRecords();
|
|
|
- records.stream().map(item -> {
|
|
|
- BigDecimal detailTotalAmt = midIncidentAuditService.statissticsErrAmtByMidAuditRecordId(item.getId());
|
|
|
- item.setErrorRelativelyFewAmt(new BigDecimal("0.00"));
|
|
|
- item.setErrorRelativelyManyAmt(new BigDecimal("0.00"));
|
|
|
- if (null != detailTotalAmt) {
|
|
|
- if (detailTotalAmt.compareTo(BigDecimal.ZERO) > 0) { // 异常金额大于0,就是多收
|
|
|
- item.setErrorRelativelyManyAmt(detailTotalAmt);
|
|
|
- } else if (detailTotalAmt.compareTo(BigDecimal.ZERO) < 0) {
|
|
|
- item.setErrorRelativelyFewAmt(detailTotalAmt);
|
|
|
- }
|
|
|
- }
|
|
|
- return item;
|
|
|
- }).collect(Collectors.toList());
|
|
|
+// List<AuditMidDetailListResponse> records = resultPage.getRecords();
|
|
|
+// records.stream().map(item -> {
|
|
|
+// BigDecimal detailTotalAmt = midIncidentAuditService.statissticsErrAmtByMidAuditRecordId(item.getId());
|
|
|
+// item.setErrorRelativelyFewAmt(new BigDecimal("0.00"));
|
|
|
+// item.setErrorRelativelyManyAmt(new BigDecimal("0.00"));
|
|
|
+// if (null != detailTotalAmt) {
|
|
|
+// if (detailTotalAmt.compareTo(BigDecimal.ZERO) > 0) { // 异常金额大于0,就是多收
|
|
|
+// item.setErrorRelativelyManyAmt(detailTotalAmt);
|
|
|
+// } else if (detailTotalAmt.compareTo(BigDecimal.ZERO) < 0) {
|
|
|
+// item.setErrorRelativelyFewAmt(detailTotalAmt);
|
|
|
+// }
|
|
|
+// }
|
|
|
+// return item;
|
|
|
+// }).collect(Collectors.toList());
|
|
|
return resultPage;
|
|
|
}
|
|
|
|
|
|
@@ -227,7 +227,7 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
}
|
|
|
result.setDescription(detailInfo.getDescription());
|
|
|
result.setDoctorName(detailInfo.getDoctorName());
|
|
|
- result.setViolationLevel(detailInfo.getReminderLevel());
|
|
|
+ result.setViolationLevel(detailInfo.getViolationLevel());
|
|
|
result.setMedicalInsRuleInfoCode(detailInfo.getMedicalInsRuleInfoCode());
|
|
|
result.setMedicalInsRuleInfoName(detailInfo.getMedicalInsRuleInfoName());
|
|
|
result.setCreateTime(detailInfo.getCreateTime());
|
|
|
@@ -295,8 +295,8 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public IPage<MidAuditDetailResponse> midViolateRuleTypePageList(IPage<AuditAdvanceWarningAuditDetailResponse> page, String medicalInsRuleInfoName, String projectType, String startTime, String endTime) {
|
|
|
- return midIncidentAuditDetailService.midViolateRuleTypePageList(page, medicalInsRuleInfoName, projectType, startTime, endTime);
|
|
|
+ public IPage<MidAuditDetailResponse> midViolateRuleTypePageList(IPage<AuditAdvanceWarningAuditDetailResponse> page, String medicalInsRuleInfoName, String projectType, String startTime, String endTime,BigDecimal errorAmountTotal) {
|
|
|
+ return midIncidentAuditDetailService.midViolateRuleTypePageList(page, medicalInsRuleInfoName, projectType, startTime, endTime,errorAmountTotal);
|
|
|
}
|
|
|
@Override
|
|
|
public IPage<MidAuditDetailResponse> afterViolateRuleTypePageList(IPage<AuditAdvanceWarningAuditDetailResponse> page, String medicalInsRuleInfoName, String projectType, String startTime, String endTime) {
|
|
|
@@ -314,7 +314,7 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
}
|
|
|
result.setDescription(detailInfo.getDescription());
|
|
|
result.setDoctorName(detailInfo.getDoctorName());
|
|
|
- result.setViolationLevel(detailInfo.getReminderLevel());
|
|
|
+ result.setViolationLevel(detailInfo.getViolationLevel());
|
|
|
result.setMedicalInsRuleInfoCode(detailInfo.getMedicalInsRuleInfoCode());
|
|
|
result.setMedicalInsRuleInfoName(detailInfo.getMedicalInsRuleInfoName());
|
|
|
result.setCreateTime(detailInfo.getCreateTime());
|
|
|
@@ -363,7 +363,7 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
result.setDoctorName(detailInfo.getDoctorName());
|
|
|
result.setMedicalInsRuleInfoName(detailInfo.getMedicalInsRuleInfoName());
|
|
|
result.setDescription(detailInfo.getDescription());
|
|
|
- result.setViolationLevel(detailInfo.getReminderLevel());
|
|
|
+ result.setViolationLevel(detailInfo.getViolationLevel());
|
|
|
result.setMedicalInsRuleInfoCode(detailInfo.getMedicalInsRuleInfoCode());
|
|
|
result.setProjectName(detailInfo.getProejctName());
|
|
|
result.setProjectCode(detailInfo.getProejctCode());
|
|
|
@@ -407,7 +407,7 @@ public class ViolationAnalysisServiceImpl implements IViolationAnalysisService {
|
|
|
midAuditDoctorInfo.setMedicalDeptName(detailInfo.getMedicalDeptName());
|
|
|
midAuditDoctorInfo.setDoctorId(detailInfo.getDoctorId());
|
|
|
midAuditDoctorInfo.setDoctorName(detailInfo.getDoctorName());
|
|
|
- midAuditDoctorInfo.setFeedbackResult("无");
|
|
|
+ midAuditDoctorInfo.setFeedbackResult(patientInformationResponse.getFeedbackResult());
|
|
|
result.setDoctorInfo(midAuditDoctorInfo);
|
|
|
|
|
|
|