From beb6e85c9b054e8edced241c3367814a0a19d70c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 07 Apr 2021 11:42:38 +0800
Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop

---
 zq-erp/src/main/java/com/matrix/system/shopXcx/quartz/ShopAutomaticReceiveQuartz.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/quartz/ShopAutomaticReceiveQuartz.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/quartz/ShopAutomaticReceiveQuartz.java
index 10df6db..a842add 100644
--- a/zq-erp/src/main/java/com/matrix/system/shopXcx/quartz/ShopAutomaticReceiveQuartz.java
+++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/quartz/ShopAutomaticReceiveQuartz.java
@@ -23,9 +23,6 @@
 @Configuration
 public class ShopAutomaticReceiveQuartz {
 
-    @Value("${scheduling.enabled}")
-    private boolean taskSwitch;
-
     @Autowired
     private ShopDeliveryInfoDao shopDeliveryInfoDao;
 
@@ -37,9 +34,9 @@
 
     @Scheduled(cron = "0/30 * * * * ?")
     public void executeExt() {
-        if(taskSwitch) {
 
 
+            LogUtil.info("#15天自动收货任务处理#");
 
             List<ShopDeliveryInfo> shopDeliveryInfos = shopDeliveryInfoDao.selectAutomaticReceive();
             int flag = 0;
@@ -55,7 +52,7 @@
                 }
             }
             LogUtil.info("自动确认收货更新条数:" + flag);
-        }
+
     }
 
 }

--
Gitblit v1.9.1