From 51d4e4e4201a8462f353641df8398f86a334a220 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Wed, 04 Jun 2025 05:53:46 +0000
Subject: [PATCH] 合同统计文本推送至企业微信指定人员查看初版添加
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ContractMethod.java | 7 +++++++
1 files changed, 7 insertions(+), 0 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 42154ee..d8d6baa 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
@@ -3,6 +3,7 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.constant.Constant;
+import me.zhengjie.modules.contract.service.ContractService;
import me.zhengjie.modules.quartz.service.impl.WeComServiceImpl;
import me.zhengjie.modules.system.domain.Role;
import me.zhengjie.modules.system.domain.SysConfigProportion;
@@ -35,6 +36,7 @@
private final SysUserContractRepository sysUserContractRepository;
private final UserRepository userRepository;
private final WeComServiceImpl weComService;
+ private final ContractService contractService;
// 合同到期提醒
public void contractRemind() throws Exception {
@@ -87,4 +89,9 @@
}
}
}
+
+ // 合同季度统计推送
+ public void contractQuarterlyReport() throws Exception {
+ contractService.contractQuarterlyReport();
+ }
}
--
Gitblit v1.9.3