From f10bce85b3da7777473c3a5f092a6c1e31e89309 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Mon, 12 Jan 2026 03:39:08 +0000
Subject: [PATCH] 微信考勤白名单字典Key常量化
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/WeComServiceImpl.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/WeComServiceImpl.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/WeComServiceImpl.java
index 89e0e1c..c4c7147 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/WeComServiceImpl.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/WeComServiceImpl.java
@@ -118,7 +118,7 @@
// 用户列表
List<User> userList = new ArrayList<>();
// 获取企业微信考勤白名单
- List<String> excludeList = dictDetailService.getDictByName("wecom_exclude_list").stream().map(i -> i.getValue()).collect(Collectors.toList());
+ List<String> excludeList = dictDetailService.getDictByName(Constant.DICT_WECOM_EXCLUDE_LIST).stream().map(i -> i.getValue()).collect(Collectors.toList());
// 参数用户不为空(考勤按钮调用)
if (ObjectUtils.isNotEmpty(attUser)) {
// 用户列表
@@ -220,7 +220,7 @@
// 用户列表
List<User> userList;
// 获取企业微信考勤白名单
- List<String> excludeList = dictDetailService.getDictByName("wecom_exclude_list").stream().map(i -> i.getValue()).collect(Collectors.toList());
+ List<String> excludeList = dictDetailService.getDictByName(Constant.DICT_WECOM_EXCLUDE_LIST).stream().map(i -> i.getValue()).collect(Collectors.toList());
// 参数用户不为空(考勤按钮调用)
if (ObjectUtils.isNotEmpty(attUser)) {
// 用户列表
@@ -368,7 +368,7 @@
// 用户列表
List<User> userList;
// 获取企业微信考勤白名单
- List<String> excludeList = dictDetailService.getDictByName("wecom_exclude_list").stream().map(i -> i.getValue()).collect(Collectors.toList());
+ List<String> excludeList = dictDetailService.getDictByName(Constant.DICT_WECOM_EXCLUDE_LIST).stream().map(i -> i.getValue()).collect(Collectors.toList());
// 参数用户不为空(考勤按钮调用)
if (ObjectUtils.isNotEmpty(attUser)) {
// 用户列表
--
Gitblit v1.9.3