|
@@ -175,6 +175,7 @@ public class RepalBillServiceImpl extends ServiceImpl<RepalBillMapper, RepalBill
|
|
|
BeanUtils.copyProperties(billPageBO, totalOverdueQueryBO);
|
|
|
BeanUtils.copyProperties(billPageBO, totalSumBO);
|
|
|
totalQueryBO.setOverdueStatus(Objects.isNull(dto.getOverdueStatus()) ? 6 : dto.getOverdueStatus());
|
|
|
+ totalQueryBO.setTotalFlag(false);
|
|
|
if (Objects.isNull(dto.getOverdueStatus()) || OverdueStatusEnum.已逾期.getCode().equals(dto.getOverdueStatus())) {
|
|
|
totalOverdueQueryBO.setOverdueStatus(OverdueStatusEnum.已逾期.getCode());
|
|
|
}
|
|
@@ -185,8 +186,10 @@ public class RepalBillServiceImpl extends ServiceImpl<RepalBillMapper, RepalBill
|
|
|
}
|
|
|
totalMoneyBO = repalBillMapper.getTotalMoneyByGroup(totalQueryBO);
|
|
|
if (OverdueStatusEnum.已逾期.getCode().equals(totalOverdueQueryBO.getOverdueStatus())) {
|
|
|
+ totalOverdueQueryBO.setTotalFlag(false);
|
|
|
overdueBO = repalBillMapper.getTotalMoneyByGroup(totalOverdueQueryBO);
|
|
|
}
|
|
|
+ totalSumBO.setTotalFlag(true);
|
|
|
totalBO = repalBillMapper.getTotalMoneyByGroup(totalSumBO);
|
|
|
infoVO.setTotalBillMoneyStr(totalMoneyBO.getTotalMoney().stripTrailingZeros().toPlainString());
|
|
|
infoVO.setTotalBillCount(totalMoneyBO.getTotalCount());
|