| | |
| | | |
| | | @Override |
| | | @SneakyThrows |
| | | public void export(Integer whichYear,Integer whichMonth,Integer contractId, HttpServletResponse response) { |
| | | public void export(Integer whichYear,Integer whichMonth,Integer whichDay,Integer contractId, HttpServletResponse response) { |
| | | // 获取数据 |
| | | List<CalculateExport> list = baseMapper.exportData(whichYear,whichMonth,contractId); |
| | | List<CalculateExport> list = baseMapper.exportData(whichYear,whichMonth,whichDay,contractId); |
| | | CalculateExport calculateExport = new CalculateExport(); |
| | | calculateExport.setRuleName("合计"); |
| | | calculateExport.setNum(list.stream().mapToInt(CalculateExport::getNum).sum()); |