Explorar el Código

修改后台缓存处理

BSWYZ hace 11 horas
padre
commit
ef205a120a

+ 1 - 1
imcs-admin-boot/imcs-business-controller/src/main/java/com/github/zuihou/business/controller/operationManagementCenter/ToolbarController.java

@@ -370,7 +370,7 @@ public class ToolbarController {
                 String repeatKey = taskNode.getId().toString() + taskNode.getTaskId().toString();
                 String cacheUid = msgUtil.redis_get(repeatKey) == null ? "" : msgUtil.redis_get(repeatKey).toString();
                 if(StringUtils.isNotEmpty(cacheUid)){
-                    msgUtil.redis_del(cacheUid);
+                    msgUtil.redis_del(repeatKey);
                 }
                 msgUtil.redis_fuzzy_del(YunjianConstant.YUNJIAN_SCHEDULE_LIST, taskNodeId);
                 msgUtil.createWarnLog(taskNodeId +"节点执行错误或重复超时已重置", "DataException");