diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/settlement/service/impl/SltAgreementInfoServiceImpl.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/settlement/service/impl/SltAgreementInfoServiceImpl.java index c4db890b..a814edc1 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/settlement/service/impl/SltAgreementInfoServiceImpl.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/settlement/service/impl/SltAgreementInfoServiceImpl.java @@ -822,6 +822,8 @@ public class SltAgreementInfoServiceImpl implements ISltAgreementInfoService { List sltReportedList = sltAgreementInfoMapper.getSltReportedList(bean); if (sltReportedList != null) { sltReportedList.removeIf(Objects::isNull); + // 去掉没有审核的or审核不通过的 + sltReportedList.removeIf(obj -> Objects.isNull(obj.getSltStatus()) || !Objects.equals("2", obj.getSltStatus())); sltReportedList.forEach(sltAgreementInfo -> { if (sltAgreementInfo.getCosts() == null || sltAgreementInfo.getCosts().equals(BigDecimal.ZERO)) { sltAgreementInfo.setCosts(