From c5dfc09145e4e10f99dbf388a4a1433b5c2973e5 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:40:38 +0000
Subject: [PATCH] 适应高版本Nodejs对应修改(二)

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ContractMethod.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ContractMethod.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ContractMethod.java
index d8d6baa..2eaf4b3 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ContractMethod.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ContractMethod.java
@@ -50,7 +50,7 @@
             // 获取用户角色
             Role role = user.getRoles().iterator().next();
             // 高级别
-            if (Long.valueOf(role.getLevel()).equals(Constant.ROLE_LEVEL_SUPER) || Long.valueOf(role.getLevel()).equals(Constant.ROLE_LEVEL_GENERAL)) {
+            if (Constant.SUPER_LEVEL_LIST.contains(Long.valueOf(role.getLevel()))) {
                 if (StringUtils.isNotBlank(user.getWeComId())) {
                     weComList.add(user.getWeComId());
                 }
@@ -92,6 +92,6 @@
 
     // 合同季度统计推送
     public void contractQuarterlyReport() throws Exception {
-        contractService.contractQuarterlyReport();
+        contractService.contractQuarterlyReport(null);
     }
 }

--
Gitblit v1.9.3