|
@@ -53,16 +53,27 @@ public class StartService implements CommandLineRunner {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- // 同步ERP表,插入mysql
|
|
|
|
- public void syncService(){
|
|
|
|
|
|
+ // 同步ERP表,sqlserver插入redis
|
|
|
|
+ public void yongHuErp() throws Exception {
|
|
|
|
+ HttpRequest.postData(SyncServiceImpl.ERP_SYNC_URL);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // 同步ERP表,redis插入mysql
|
|
|
|
+ public void syncService() {
|
|
iSyncService.syncSkuType();
|
|
iSyncService.syncSkuType();
|
|
iSyncService.syncSku();
|
|
iSyncService.syncSku();
|
|
iSyncService.syncSkuBarcode();
|
|
iSyncService.syncSkuBarcode();
|
|
iSyncService.syncOrderList();
|
|
iSyncService.syncOrderList();
|
|
}
|
|
}
|
|
|
|
|
|
- // 同步ERP表,sqlserver插入redis
|
|
|
|
- public void yongHuErp() throws Exception {
|
|
|
|
- HttpRequest.postData(SyncServiceImpl.ERP_SYNC_URL);
|
|
|
|
|
|
+ // 回传ERP入库单
|
|
|
|
+ public void callBackAsn() {
|
|
|
|
+ iSyncService.callBackAsn();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ // 回传ERP出库单
|
|
|
|
+ public void callBackOrder() {
|
|
|
|
+ iSyncService.callBackOrder();
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|