From 67ca8b45a975a41093c0e52d8129624657089b44 Mon Sep 17 00:00:00 2001 From: yangys <y_ys79@sina.com> Date: 星期一, 04 十一月 2024 13:24:36 +0800 Subject: [PATCH] 状态和绩效时间设置,修改值后清空缓存的key修正,修改位与collect一致 --- smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/EmployeeCache.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/EmployeeCache.java b/smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/EmployeeCache.java index c478f58..52dce7b 100644 --- a/smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/EmployeeCache.java +++ b/smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/EmployeeCache.java @@ -53,7 +53,7 @@ public static void clearPerfCache(List<Long> workstationIds) { List<String> keys = Lists.newArrayList(); workstationIds.forEach(wId -> { - String redisKey = StringUtil.format(ExtCacheConstant.POSTING_WORKSTATION.concat("::").concat(WORK), new Object[]{wId}); + String redisKey = StringUtil.format(ExtCacheConstant.COLLECT_WORKSTATION.concat("::").concat(WORK), new Object[]{wId}); keys.add(redisKey); }); BLADE_REDIS.del(keys); -- Gitblit v1.9.3