xiaoyong931011
2023-03-14 7655547b449a79a9330fd03440a616b3d6ef8362
src/main/java/cc/mrbird/febs/mall/quartz/ProfitJob.java
@@ -40,38 +40,71 @@
    /**
     * 代理分红
     */
    @Scheduled(cron = "0 0 1 * * ?")
    public void profitJob() {
        memberProfitService.agentProfit(null);
    }
//    @Scheduled(cron = "0 30 0 * * ?")
//    public void profitJob() {
//        memberProfitService.agentProfit(null);
//    }
    @Scheduled(cron = "0 30 1 * * ?")
    public void storeAndDirectorJob() {
        memberProfitService.storeAndDirectorProfit(null);
//    @Scheduled(cron = "0 30 1 * * ?")
//    public void storeAndDirectorJob() {
//        memberProfitService.storeAndDirectorProfit(null);
//    }
//    /**
//     * 线下服务中心补贴
//     */
//    @Scheduled(cron = "0 0 1 * * ?")
//    public void thankfulJob() {
//        memberProfitService.thankfulProfit(null);
//    }
    /**
     * 代理商补贴
     */
    @Scheduled(cron = "0 0 1 * * ?")
    public void agentPerkJob() {
        memberProfitService.agentPerkJob(null);
    }
    /**
     * 感恩奖
     * 线下服务中心补贴
     */
    @Scheduled(cron = "0 30 3 * * ?")
    public void thankfulJob() {
        memberProfitService.thankfulProfit(null);
    @Scheduled(cron = "0 0 1 * * ?")
    public void offLinePerkJob() {
        memberProfitService.offLinePerkJob(null);
    }
    /**
     * 平级奖励补贴
     */
    @Scheduled(cron = "0 0 1 * * ?")
    public void teamEqualsPerkJob() {
        memberProfitService.teamEqualsPerkJob(null);
    }
    /**
     * 静态分红
     */
    @Scheduled(cron = "0 30 2 * * ?")
    public void staticProfitJob() {
        memberProfitService.staticProfit(null);
    }
//    @Scheduled(cron = "0 0 0 * * ?")
//    public void staticProfitJob() {
//        memberProfitService.staticProfit(null);
//    }
    /**
     * 排名奖 每月1号
     */
    @Scheduled(cron = "0 0 3 1 * ?")
    public void rankJob() {
        memberProfitService.rankProfit();
    }
//    @Scheduled(cron = "0 30 0 1 * ?")
//    public void rankJob() {
//        memberProfitService.rankProfit();
//    }
    /**
     * 积分池,所有消费拿出10%放到积分池,然后按1%每天释放加权平分
     */
//    @Scheduled(cron = "0 0 2 * * ?")
//    @Scheduled(cron = "0 0/5 * * * ? ")
//    public void scorePool() {
//        memberProfitService.scorePool();
//    }
}