BAOLH
2025-08-13 538b7dc4a871e99a3e6353ec00e3a9e6b0df7e26
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(null);
    }
}