From 1a773eb0a62ac5d0b43408f2db5ad2a80538f5ba Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 17 二月 2025 12:30:19 +0800 Subject: [PATCH] 往队列新增是,判断是往头部新增还是往尾部新增 --- smartor/src/main/java/com/smartor/service/impl/ServiceSubtaskServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smartor/src/main/java/com/smartor/service/impl/ServiceSubtaskServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/ServiceSubtaskServiceImpl.java index c82af7b..38d74a8 100644 --- a/smartor/src/main/java/com/smartor/service/impl/ServiceSubtaskServiceImpl.java +++ b/smartor/src/main/java/com/smartor/service/impl/ServiceSubtaskServiceImpl.java @@ -1487,7 +1487,7 @@ pullTaskVO.setAsrcallback(ASRCallBackPath); } } - if (existList.size() != 0) redisCache.setCacheList("cache-exist", existList); + if (existList.size() != 0) redisCache.setCacheListRight("cache-exist", existList); log.error("-----------瀹為檯鎷夊彇鐨勭數璇濇暟鎹噺锛歿}", pullTaskVOList.size()); return pullTaskVOList; } @@ -1541,7 +1541,7 @@ redisCache.setCacheObject(subId.trim() + "-" + serviceSubtask.getPhone().trim(), ivrTaskTemplateScript.getId().toString(), 120, TimeUnit.MINUTES); } else { newValue0.add(subIds.get(i)); - redisCache.setCacheList(cacheName, newValue0); + redisCache.setCacheListRight(cacheName, newValue0); } } -- Gitblit v1.9.3