优化审核状态过滤逻辑,移除未审核或审核不通过的记录
This commit is contained in:
parent
5f4d9a9226
commit
68d9424b0b
|
|
@ -822,6 +822,8 @@ public class SltAgreementInfoServiceImpl implements ISltAgreementInfoService {
|
|||
List<SltAgreementInfo> 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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue