|
|
@@ -2,21 +2,26 @@ package com.style24.batch.biz.task;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
-import com.style24.batch.biz.job.delivery.TsbCjWithdrawInvoiceJob;
|
|
|
-import com.style24.batch.biz.job.delivery.TsbCjWithdrawInvoiceStatJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbDailyDeliveryZoneJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbDeliveryExcRcvJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbDeliveryOrderJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbDeliveryOrderRsltJob;
|
|
|
-import com.style24.batch.biz.job.delivery.TsbInvoiceNoRcvJob;
|
|
|
-import com.style24.batch.biz.job.delivery.TsbShopGoodsStockJob;
|
|
|
-import com.style24.batch.biz.job.delivery.TsbSweetTrackerJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbWithdrawExcRcvJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbWithdrawExcRsltJob;
|
|
|
-import com.style24.batch.biz.job.delivery.TsbWithdrawRequestJob;
|
|
|
import com.style24.batch.biz.job.delivery.TsbWithdrawRsltJob;
|
|
|
+import com.style24.batch.biz.job.delivery.TsbInvoiceNoRcvJob;
|
|
|
+import com.style24.batch.biz.job.delivery.TsbShopGoodsStockJob;
|
|
|
+import com.style24.batch.biz.job.delivery.TsbWithdrawRequestJob;
|
|
|
+import com.style24.batch.biz.job.delivery.TsbCjWithdrawInvoiceJob;
|
|
|
+import com.style24.batch.biz.job.delivery.TsbCjWithdrawInvoiceStatJob;
|
|
|
+import com.style24.batch.biz.job.delivery.TsbSweetTrackerJob;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@@ -111,7 +116,7 @@ public class TsbDeliveryTask {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
//@Scheduled(cron = "${cron.delivery.tsbDeliveryOrderJob}")
|
|
|
- // @Scheduled(fixedDelay = 3500000)
|
|
|
+ //@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void tsbDeliveryOrderJob() throws Exception {
|
|
|
deliveryOrderJob.run("cron.delivery.tsbDeliveryOrderJob");
|