|
@@ -185,6 +185,7 @@ public class PreparationServiceImpl extends BaseServiceImpl<PreparationMapper, P
|
|
|
|
|
|
for (Map<String, LocalDateTime> map : monthStartAndEndList) {
|
|
|
BigDecimal totalFee = new BigDecimal(0);
|
|
|
+ BigDecimal totalActualFee = new BigDecimal(0);
|
|
|
int i = 0;
|
|
|
AllPreparationReportVO vo = new AllPreparationReportVO();
|
|
|
List<PreparationVO> detailList = new ArrayList<PreparationVO>();
|
|
@@ -199,10 +200,12 @@ public class PreparationServiceImpl extends BaseServiceImpl<PreparationMapper, P
|
|
|
}
|
|
|
detailList.add(preparationVO);
|
|
|
totalFee = totalFee.add(preparationVO.getFee()==null?new BigDecimal(0):preparationVO.getFee());
|
|
|
+ totalActualFee = totalActualFee.add(preparationVO.getActualFee()==null?new BigDecimal(0):preparationVO.getActualFee());
|
|
|
}
|
|
|
}
|
|
|
vo.setTotalFee(totalFee);
|
|
|
vo.setNum(i);
|
|
|
+ vo.setTotalActualFee(totalActualFee);
|
|
|
vo.setDetailList(detailList);
|
|
|
result.add(vo);
|
|
|
}
|