| | |
| | | } |
| | | |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonCallRecordService |
| | | |
| | | public IPage<AndonCallRecordResVO> pageQueryRecord(Query query, AndonCallRecordSearchVO vo) { |
| | | QueryWrapper<AndonRecord> wrapper = getWrapper(vo); |
| | | IPage<AndonRecord> page = this.recordService.page(Condition.getPage(query), wrapper); |
| | |
| | | return page1; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonCallRecordService |
| | | |
| | | public BladeFile exportRecord(AndonCallRecordSearchVO vo) { |
| | | List<AndonRecord> records = this.recordService.list(getWrapper(vo)); |
| | | Map<Long, List<AndonRecordReason>> recordReasonMap = (Map<Long, List<AndonRecordReason>>)this.reasonService.list().stream().collect(Collectors.groupingBy(AndonRecordReason::getRecordId)); |