xiaoyong931011
2021-04-12 a13a93a493e7e94e28b2225c26e7e13b52d3288c
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);
        }
    }
}