| | |
| | | list.add(serviceSubtask2.getId().toString()); |
| | | } |
| | | log.error("缓存中cache-0的值为:{}", list); |
| | | redisCache.setCacheListLeft("cache-0", list); |
| | | // redisCache.setCacheListLeft("cache-0", list); |
| | | redisCache.setCacheListLeftAndDistinct("cache-0", list); |
| | | } else { |
| | | //非立即发送 |
| | | ServiceSubtaskVO serviceSubtask1 = new ServiceSubtaskVO(); |
| | |
| | | for (ServiceSubtask serviceSubtask2 : selectServiceSubtaskList1) { |
| | | list.add(serviceSubtask2.getId().toString()); |
| | | } |
| | | redisCache.setCacheListLeft(key, list); |
| | | // redisCache.setCacheListLeft(key, list); |
| | | redisCache.setCacheListLeftAndDistinct(key, list); |
| | | } |
| | | } catch (Exception exception) { |
| | | ServiceSubtaskRecord serviceSubtaskRecord = new ServiceSubtaskRecord(); |