Ver código fonte

perf: 去掉旧的异常多收-少收的计算逻辑

Scott 1 ano atrás
pai
commit
54cf72c691

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/service/impl/AfterwardsAuditServiceImpl.java

@@ -129,7 +129,7 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
             List<AfterwardsAudit> records = auditQueryPageList.getRecords();
             records = records.stream().map(item -> {
                 // 计算异常多收-少收
-                BigDecimal detailTotalAmt = baseMapper.statisticsErrAmtByAfterwareRecordId(item.getId());
+/*                BigDecimal detailTotalAmt = baseMapper.statisticsErrAmtByAfterwareRecordId(item.getId());
                 item.setErrorRelativelyFewAmt(new BigDecimal("0.00"));
                 item.setErrorRelativelyManyAmt(new BigDecimal("0.00"));
                 if (!StringUtils.hasText(item.getCheckState())) {
@@ -141,7 +141,7 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
                     } else if (detailTotalAmt.compareTo(BigDecimal.ZERO) < 0) {
                         item.setErrorRelativelyFewAmt(detailTotalAmt);
                     }
-                }
+                }*/
                 int appealNumber = 0;
                 MedicalDoctorAppealRecord appealRecord = appealRecordService.loadMaxAppealNumber(item.getId(), item.getMedicalDeptCode(), item.getDoctorId());
                 if (null != appealRecord && appealRecord.getAppealNumber() != null) {