|
|
@@ -2,26 +2,21 @@ 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.TsbWithdrawExcRcvJob;
|
|
|
-import com.style24.batch.biz.job.delivery.TsbWithdrawExcRsltJob;
|
|
|
-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 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 lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@@ -116,132 +111,132 @@ 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");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 회수예외 수신
|
|
|
+ * 출고예외 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbWithdrawExcRcvJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbDeliveryExcRcvJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbWithdrawExcRcvJob() throws Exception {
|
|
|
- withdrawExcRcvJob.run("cron.delivery.tsbWithdrawExcRcvJob");
|
|
|
- }
|
|
|
-
|
|
|
+ public void tsbDeliveryExcRcvJob() throws Exception {
|
|
|
+ deliveryExcRcvJob.run("cron.delivery.tsbDeliveryExcRcvJob");
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
- * 회수예외 결과
|
|
|
+ * wms 송장번호 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbWithdrawExcRsltJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbInvoiceNoRcvJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbWithdrawExcRsltJob() throws Exception {
|
|
|
- withdrawExcRsltJob.run("cron.delivery.tsbWithdrawExcRsltJob");
|
|
|
+ public void tsbInvoiceNoRcvJob() throws Exception {
|
|
|
+ tsbInvoiceNoRcvJob.run("cron.delivery.tsbInvoiceNoRcvJob");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 출고예외 수신
|
|
|
+ * 출고결과 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbDeliveryExcRcvJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbDeliveryOrderRsltJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbDeliveryExcRcvJob() throws Exception {
|
|
|
- deliveryExcRcvJob.run("cron.delivery.tsbDeliveryExcRcvJob");
|
|
|
- }
|
|
|
+ public void tsbDeliveryOrderRsltJob() throws Exception {
|
|
|
+ deliveryOrderRsltJob.run("cron.delivery.tsbDeliveryOrderRsltJob");
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
- * 출고결과 수신
|
|
|
+ * WMS 회수요청
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbDeliveryOrderRsltJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbWithdrawRequestJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbDeliveryOrderRsltJob() throws Exception {
|
|
|
- deliveryOrderRsltJob.run("cron.delivery.tsbDeliveryOrderRsltJob");
|
|
|
- }
|
|
|
+ public void tsbWithdrawRequestJob() throws Exception {
|
|
|
+ tsbWithdrawRequestJob.run("cron.delivery.tsbWithdrawRequestJob");
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
- * 회수결과 수신
|
|
|
+ * CJ 회수송장번호 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbWithdrawRsltJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbCjWithdrawInvoiceJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbWithdrawRsltJob() throws Exception {
|
|
|
- withdrawRsltJob.run("cron.delivery.tsbWithdrawRsltJob");
|
|
|
+ public void tsbCjWithdrawInvoiceJob() throws Exception {
|
|
|
+ tsbCjWithdrawInvoiceJob.run("cron.delivery.tsbCjWithdrawInvoiceJob");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
- * wms 송장번호 수신
|
|
|
+ * CJ 회수상태 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbInvoiceNoRcvJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbCjWithdrawInvoiceStatJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbInvoiceNoRcvJob() throws Exception {
|
|
|
- tsbInvoiceNoRcvJob.run("cron.delivery.tsbInvoiceNoRcvJob");
|
|
|
- }
|
|
|
-
|
|
|
+ public void tsbCjWithdrawInvoiceStatJob() throws Exception {
|
|
|
+ tsbCjWithdrawInvoiceStatJob.run("cron.delivery.tsbCjWithdrawInvoiceStatJob");
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
- * 매장상품재고 수신
|
|
|
+ * 회수예외 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbShopGoodsStockJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbWithdrawExcRcvJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbShopGoodsStockJob() throws Exception {
|
|
|
- tsbShopGoodsStockJob.run("cron.delivery.tsbShopGoodsStockJob");
|
|
|
+ public void tsbWithdrawExcRcvJob() throws Exception {
|
|
|
+ withdrawExcRcvJob.run("cron.delivery.tsbWithdrawExcRcvJob");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * WMS 회수요청
|
|
|
+ * 회수예외 결과
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbWithdrawRequestJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbWithdrawExcRsltJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbWithdrawRequestJob() throws Exception {
|
|
|
- tsbWithdrawRequestJob.run("cron.delivery.tsbWithdrawRequestJob");
|
|
|
- }
|
|
|
+ public void tsbWithdrawExcRsltJob() throws Exception {
|
|
|
+ withdrawExcRsltJob.run("cron.delivery.tsbWithdrawExcRsltJob");
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
- * CJ 회수송장번호 수신
|
|
|
+ * 회수결과 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbCjWithdrawInvoiceJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbWithdrawRsltJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbCjWithdrawInvoiceJob() throws Exception {
|
|
|
- tsbCjWithdrawInvoiceJob.run("cron.delivery.tsbCjWithdrawInvoiceJob");
|
|
|
+ public void tsbWithdrawRsltJob() throws Exception {
|
|
|
+ withdrawRsltJob.run("cron.delivery.tsbWithdrawRsltJob");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * CJ 회수상태 수신
|
|
|
+ * 매장상품재고 수신
|
|
|
*
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- //@Scheduled(cron = "${cron.delivery.tsbCjWithdrawInvoiceStatJob}")
|
|
|
+ //@Scheduled(cron = "${cron.delivery.tsbShopGoodsStockJob}")
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
- public void tsbCjWithdrawInvoiceStatJob() throws Exception {
|
|
|
- tsbCjWithdrawInvoiceStatJob.run("cron.delivery.tsbCjWithdrawInvoiceStatJob");
|
|
|
- }
|
|
|
+ public void tsbShopGoodsStockJob() throws Exception {
|
|
|
+ tsbShopGoodsStockJob.run("cron.delivery.tsbShopGoodsStockJob");
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 스윗트래커 배송 추적 요청
|
|
|
@@ -255,7 +250,4 @@ public class TsbDeliveryTask {
|
|
|
tsbSweetTrackerJob.run("cron.delivery.tsbSweetTrackerJob");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|