|
|
@@ -76,7 +76,7 @@ public class TsbDeliveryTask {
|
|
|
// @Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void shotDeliveryZoneRefreshJob() throws Exception {
|
|
|
- dailyDeliveryZoneJob.run("cron.delivery.shot.deliveryzone.refresh");
|
|
|
+ dailyDeliveryZoneJob.runById("cron.delivery.shot.deliveryzone.refresh");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -88,7 +88,7 @@ public class TsbDeliveryTask {
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void deliveryLocAssignJob() throws Exception {
|
|
|
- deliveryOrderJob.run("cron.delivery.loc.assign");
|
|
|
+ deliveryOrderJob.runById("cron.delivery.loc.assign");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -100,7 +100,7 @@ public class TsbDeliveryTask {
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void wmsOutgoingExceptionReceiveJob() throws Exception {
|
|
|
- deliveryExcRcvJob.run("cron.delivery.wms.outgoing.exception.receive");
|
|
|
+ deliveryExcRcvJob.runById("cron.delivery.wms.outgoing.exception.receive");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -112,7 +112,7 @@ public class TsbDeliveryTask {
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void wmsInvoiceReceiveJob() throws Exception {
|
|
|
- tsbInvoiceNoRcvJob.run("cron.delivery.wms.invoice.receive");
|
|
|
+ tsbInvoiceNoRcvJob.runById("cron.delivery.wms.invoice.receive");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -124,7 +124,7 @@ public class TsbDeliveryTask {
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void wmsOutgoingResultReceiveJob() throws Exception {
|
|
|
- deliveryOrderRsltJob.run("cron.delivery.wms.outgoing.result.receive");
|
|
|
+ deliveryOrderRsltJob.runById("cron.delivery.wms.outgoing.result.receive");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -136,7 +136,7 @@ public class TsbDeliveryTask {
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void sweettrackerInvoiceRetrieveJob() throws Exception {
|
|
|
- tsbSweetTrackerJob.run("cron.delivery.sweettracker.invoice.retrieve");
|
|
|
+ tsbSweetTrackerJob.runById("cron.delivery.sweettracker.invoice.retrieve");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -148,7 +148,7 @@ public class TsbDeliveryTask {
|
|
|
//@Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
|
public void autoSoldoutCancelJob() throws Exception {
|
|
|
- tsbSoldoutCancelJob.run("cron.delivery.auto.soldout.cancel");
|
|
|
+ tsbSoldoutCancelJob.runById("cron.delivery.auto.soldout.cancel");
|
|
|
}
|
|
|
|
|
|
}
|