|  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private IMemberProfitService memberProfitService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 代理分红 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @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 0 1 * * ?") | 
|---|
|  |  |  | public void thankfulJob() { | 
|---|
|  |  |  | memberProfitService.thankfulProfit(null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 静态分红 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Scheduled(cron = "0 0 0 * * ?") | 
|---|
|  |  |  | public void staticProfitJob() { | 
|---|
|  |  |  | memberProfitService.staticProfit(null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 排名奖 每月1号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Scheduled(cron = "0 30 0 1 * ?") | 
|---|
|  |  |  | public void rankJob() { | 
|---|
|  |  |  | memberProfitService.rankProfit(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 代理分红 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @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 0 1 * * ?") | 
|---|
|  |  |  | //    public void thankfulJob() { | 
|---|
|  |  |  | //        memberProfitService.thankfulProfit(null); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 静态分红 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @Scheduled(cron = "0 0 0 * * ?") | 
|---|
|  |  |  | //    public void staticProfitJob() { | 
|---|
|  |  |  | //        memberProfitService.staticProfit(null); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 排名奖 每月1号 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @Scheduled(cron = "0 30 0 1 * ?") | 
|---|
|  |  |  | //    public void rankJob() { | 
|---|
|  |  |  | //        memberProfitService.rankProfit(); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | } | 
|---|