| | |
| | | List<CoalCategory> coalCategories = coalCategoryMapper.selectByCoalPayId(pay.getId()); |
| | | pay.setCoalCategoryList(coalCategories); |
| | | //学员数据 |
| | | List<CoalPayStudent> coalPayStudents = coalPayStudentService.selectByCoalPayId(pay.getId()); |
| | | List<CoalPayStudent> havePay = coalPayStudents.stream() |
| | | .filter(stu -> stu.getPayStatus() != null && stu.getPayStatus() == 1) |
| | | .collect(Collectors.toList()); |
| | | pay.setTotalNum(coalPayStudents.size()); |
| | | pay.setHavePayNum(havePay.size()); |
| | | // List<CoalPayStudent> coalPayStudents = coalPayStudentService.selectByCoalPayId(pay.getId()); |
| | | // List<CoalPayStudent> havePay = coalPayStudents.stream() |
| | | // .filter(stu -> stu.getPayStatus() != null && stu.getPayStatus() == 1) |
| | | // .collect(Collectors.toList()); |
| | | // pay.setTotalNum(coalPayStudents.size()); |
| | | // pay.setHavePayNum(havePay.size()); |
| | | // coalPayRepDtos.add(coalPayRepDto); |
| | | } |
| | | return coalPays; |