From 7f943e54f259c7ff69c7591dbd6803171126b01e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 21 六月 2019 09:35:08 +0800 Subject: [PATCH] 发起提现增加统计,添加京东订单与商品,拼多多订单与商品 --- fanli/src/main/java/com/yeshi/fanli/job/UpdateTaoBaoGoodsJob.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/job/UpdateTaoBaoGoodsJob.java b/fanli/src/main/java/com/yeshi/fanli/job/UpdateTaoBaoGoodsJob.java index 665b01a..e8c0c6c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/job/UpdateTaoBaoGoodsJob.java +++ b/fanli/src/main/java/com/yeshi/fanli/job/UpdateTaoBaoGoodsJob.java @@ -136,7 +136,6 @@ */ @Scheduled(cron = "0 15 0/6 * * ? ") public void removeFlashSaleGoods() { - if (!Constant.IS_TASK) { return; } @@ -158,6 +157,8 @@ // 鏇存柊鍝佺墝鍟嗗搧锛屾瘡澶╂棭涓�6鐐规墽琛屼竴娆� @Scheduled(cron = "0 0 6 * * ? ") public void updateBrandGoods() { + if (!Constant.IS_TASK) + return; brandClassShopService.updateShopGoods(); } @@ -166,6 +167,8 @@ */ @Scheduled(cron = "0 0 0/1 * * ?") public void update618() { + if (!Constant.IS_TASK) + return; LogHelper.test("鏇存柊618鍟嗗搧"); taoBaoGoodsActivityService.sysncS618Goods(); } -- Gitblit v1.8.0