|
@@ -1,4 +1,4 @@
|
|
|
-package com.fs.hisStore;
|
|
|
+package com.fs.hisStore.controller;
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
@@ -84,11 +84,19 @@ public class FsStoreOrderScrmController extends BaseController {
|
|
|
@Autowired
|
|
|
@Qualifier("wdtErpOrderServiceImpl")
|
|
|
private IErpOrderService wdtOrderService;
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ @Qualifier("hzOMSErpOrderServiceImpl")
|
|
|
+ private IErpOrderService hzOMSErpOrderService;
|
|
|
+ @Autowired
|
|
|
+ @Qualifier("dfOrderServiceImpl")
|
|
|
+ private IErpOrderService dfOrderService;
|
|
|
@Autowired
|
|
|
@Qualifier("k9OrderScrmServiceImpl")
|
|
|
private IErpOrderService k9OrderService;
|
|
|
@Autowired
|
|
|
+ @Qualifier("JSTErpOrderServiceImpl")
|
|
|
+ private IErpOrderService jSTOrderService;
|
|
|
+ @Autowired
|
|
|
private ConfigUtil configUtil;
|
|
|
@Autowired
|
|
|
private IFsStoreOrderAuditLogScrmService orderAuditLogService;
|
|
@@ -102,15 +110,22 @@ public class FsStoreOrderScrmController extends BaseController {
|
|
|
//判断erp类型
|
|
|
Integer erpType = erpConfig.getErpType();
|
|
|
if (erpType != null) {
|
|
|
- if (erpType == 1) {
|
|
|
+ if (erpType == 1){
|
|
|
//管易
|
|
|
- erpOrderService = gyOrderService;
|
|
|
- } else if (erpType == 2) {
|
|
|
- //旺店通
|
|
|
- erpOrderService = wdtOrderService;
|
|
|
- } else if (erpType == 3) {
|
|
|
+ erpOrderService = gyOrderService;
|
|
|
+ } else if (erpType == 2){
|
|
|
//旺店通
|
|
|
- erpOrderService = k9OrderService;
|
|
|
+ erpOrderService = wdtOrderService;
|
|
|
+ } else if (erpType == 3){
|
|
|
+ //
|
|
|
+ erpOrderService = hzOMSErpOrderService;
|
|
|
+ } else if (erpType == 4){
|
|
|
+ //代服
|
|
|
+ erpOrderService = dfOrderService;
|
|
|
+ }else if(erpType == 5){
|
|
|
+ erpOrderService=jSTOrderService;
|
|
|
+ }else if(erpType == 6){
|
|
|
+ erpOrderService=k9OrderService;
|
|
|
}
|
|
|
}
|
|
|
}
|