|
@@ -132,9 +132,7 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
|
|
/* BigDecimal detailTotalAmt = baseMapper.statisticsErrAmtByAfterwareRecordId(item.getId());
|
|
/* BigDecimal detailTotalAmt = baseMapper.statisticsErrAmtByAfterwareRecordId(item.getId());
|
|
item.setErrorRelativelyFewAmt(new BigDecimal("0.00"));
|
|
item.setErrorRelativelyFewAmt(new BigDecimal("0.00"));
|
|
item.setErrorRelativelyManyAmt(new BigDecimal("0.00"));
|
|
item.setErrorRelativelyManyAmt(new BigDecimal("0.00"));
|
|
- if (!StringUtils.hasText(item.getCheckState())) {
|
|
|
|
- item.setCheckState(AfterwardsAuditStatusEnum.wait.getStatus());
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
if (null != detailTotalAmt) {
|
|
if (null != detailTotalAmt) {
|
|
if (detailTotalAmt.compareTo(BigDecimal.ZERO) > 0) { // 异常金额大于0,就是多收
|
|
if (detailTotalAmt.compareTo(BigDecimal.ZERO) > 0) { // 异常金额大于0,就是多收
|
|
item.setErrorRelativelyManyAmt(detailTotalAmt);
|
|
item.setErrorRelativelyManyAmt(detailTotalAmt);
|
|
@@ -142,6 +140,9 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
|
|
item.setErrorRelativelyFewAmt(detailTotalAmt);
|
|
item.setErrorRelativelyFewAmt(detailTotalAmt);
|
|
}
|
|
}
|
|
}*/
|
|
}*/
|
|
|
|
+ if (!StringUtils.hasText(item.getCheckState())) {
|
|
|
|
+ item.setCheckState(AfterwardsAuditStatusEnum.wait.getStatus());
|
|
|
|
+ }
|
|
int appealNumber = 0;
|
|
int appealNumber = 0;
|
|
MedicalDoctorAppealRecord appealRecord = appealRecordService.loadMaxAppealNumber(item.getId(), item.getMedicalDeptCode(), item.getDoctorId());
|
|
MedicalDoctorAppealRecord appealRecord = appealRecordService.loadMaxAppealNumber(item.getId(), item.getMedicalDeptCode(), item.getDoctorId());
|
|
if (null != appealRecord && appealRecord.getAppealNumber() != null) {
|
|
if (null != appealRecord && appealRecord.getAppealNumber() != null) {
|