admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java
@@ -1,22 +1,22 @@
package com.yeshi.fanli.job;
import javax.annotation.Resource;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.yeshi.fanli.service.inter.hongbao.ThreeSaleSerivce;
@Component
public class ThreeSaleJob {
   @Resource
   private ThreeSaleSerivce threeSaleSerivce;
   @Scheduled(cron = "0 0 */1 * * ? ")
   public void twentyFour() {
      // if (Constant.IS_TASK)
      // threeSaleSerivce.validateTwentyFour();
   }
}
package com.yeshi.fanli.job;
import javax.annotation.Resource;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.yeshi.fanli.service.inter.user.invite.ThreeSaleSerivce;
@Component
public class ThreeSaleJob {
   @Resource
   private ThreeSaleSerivce threeSaleSerivce;
   @Scheduled(cron = "0 0 */1 * * ? ")
   public void twentyFour() {
      // if (Constant.IS_TASK)
      // threeSaleSerivce.validateTwentyFour();
   }
}