| | |
| | | |
| | | // 要根据驳回表来改状态 |
| | | List<Long> ids = complaints.stream().map(Complaint::getId).collect(Collectors.toList()); |
| | | |
| | | if (CollUtil.isEmpty(ids)) { |
| | | ids.add(0, -1L); |
| | | } |
| | | complaints = this.baseMapper.getStatusForList(ids); |
| | | |
| | | AnalyticStatisticsOneVo vo = new AnalyticStatisticsOneVo(); |
| | |
| | | Page<ComplaintVO> page = complaintMapper.queryProcessingRecordPage(new Page<>(query.getPageNum(), query.getPageSize()), query.getKeyword(), accountLevel, targetId); |
| | | //查询上报下派记录 |
| | | List<Long> complaintIds = page.getRecords().stream().map(ComplaintVO::getId).collect(Collectors.toList()); |
| | | if (CollUtil.isEmpty(complaintIds)){ |
| | | return page; |
| | | } |
| | | List<ComplaintAuditRecord> list = complaintAuditRecordService.lambdaQuery() |
| | | .in(ComplaintAuditRecord::getComplaintId, complaintIds) |
| | | .in(ComplaintAuditRecord::getAuditType, 2, 3).list(); |