| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public Long selectSize(String equipmentId, String monday, String saturday) { |
| | | return this.baseMapper.selectCount(new LambdaQueryWrapper<MdcEquipmentStatisticalInfo>(). |
| | | eq(MdcEquipmentStatisticalInfo::getEquipmentId, equipmentId). |
| | | ge(MdcEquipmentStatisticalInfo::getTheDate, monday).le(MdcEquipmentStatisticalInfo::getTheDate, saturday)); |
| | | } |
| | | |
| | | private List<EquipmentStatisticalInfo> dataHandle(List<MdcEquipmentStatisticalInfo> list) { |
| | | List<EquipmentStatisticalInfo> result = new ArrayList<>(); |
| | | list.forEach(item -> { |