| | |
| | | config.getCommunityHandlingTime() |
| | | ); |
| | | |
| | | if(!complaintTimeoutList.isEmpty()) { |
| | | // 后续当前不在发送 |
| | | complaintService.update(new LambdaUpdateWrapper<Complaint>().in(Complaint::getId, complaintTimeoutList.stream().map(ComplaintTimeout::getComplaintId).collect(Collectors.toList())).set(Complaint::getNowLevelSms, 1)); |
| | | |
| | | } |
| | | |
| | | Map<Integer, List<ComplaintTimeout>> timeOutMap = complaintTimeoutList.stream() |
| | | .collect(Collectors.groupingBy(ComplaintTimeout::getNowLevel)); |
| | |
| | | if (!CollectionUtils.isEmpty(communityTimeOutList)){ |
| | | List<ComplaintTimeout> collect = communityTimeOutList.stream().filter(e -> e.getAssignStatus() == 0).collect(Collectors.toList()); |
| | | |
| | | |
| | | |
| | | List<SystemUser> communityUserList = systemUserService.list(new LambdaQueryWrapper<SystemUser>() |
| | | .eq(SystemUser::getAccountLevel, 4) |
| | | .in(SystemUser::getSystemRoleId,1,2) |
| | |
| | | } |
| | | |
| | | |
| | | if(!complaintTimeoutList.isEmpty()) { |
| | | // 短信发送完成 当前不在发送 |
| | | complaintService.update(new LambdaUpdateWrapper<Complaint>().in(Complaint::getId, complaintTimeoutList.stream().map(ComplaintTimeout::getComplaintId).collect(Collectors.toList())).set(Complaint::getNowLevelSms, 1)); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |