| | |
| | | } |
| | | } |
| | | |
| | | if (repair.getMdcSectionIds().isEmpty()) { |
| | | if (repair.getMdcSectionIds() == null || repair.getMdcSectionIds().isEmpty()) { |
| | | repair.setMdcSectionIds(equipmentIds); |
| | | } |
| | | |
| | | if (repair.getMdcSectionIds() == null || repair.getMdcSectionIds().isEmpty()) { |
| | | return null; |
| | | } |
| | | |
| | | return this.baseMapper.pageList(page, repair); |
| | |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public List<MdcEquipmentRepair> mdcRepairListDate(String equipmentid, Date startDate, Date endDate) { |
| | | return this.baseMapper.selectByIdAndTime(equipmentid, startDate, endDate); |
| | | } |
| | | |
| | | } |