From fc0cc7e808f9228b39b1e6b9d29c5417f41dbcc4 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 24 五月 2019 16:52:02 +0800 Subject: [PATCH] 删除 老版动态查询商品 关联yeshi_ec_taobao_goods 的sql --- fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java | 21 ++------------------- 1 files changed, 2 insertions(+), 19 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java b/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java index d202d2b..ad4fe9d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java +++ b/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java @@ -5,9 +5,7 @@ import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; -import com.yeshi.fanli.service.inter.hongbao.ThreeSaleRankService; import com.yeshi.fanli.service.inter.hongbao.ThreeSaleSerivce; -import com.yeshi.fanli.util.Constant; @Component public class ThreeSaleJob { @@ -15,25 +13,10 @@ @Resource private ThreeSaleSerivce threeSaleSerivce; - @Resource - private ThreeSaleRankService threeSaleRankService; - @Scheduled(cron = "0 0 */1 * * ? ") public void twentyFour() { -// if (Constant.IS_TASK) -// threeSaleSerivce.validateTwentyFour(); - } - - @Scheduled(cron = "0 0 0 * * ? ") - public void aYear() { - if (Constant.IS_TASK) - threeSaleSerivce.validate365(); - } - - @Scheduled(cron = "0 0 0 ? * MON ") - public void updateRank() { - if (Constant.IS_TASK) - threeSaleRankService.update(); + // if (Constant.IS_TASK) + // threeSaleSerivce.validateTwentyFour(); } } -- Gitblit v1.8.0