From ffb382ba34aca2dce08ab9e4ef09adc946cf23c8 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期日, 27 四月 2025 17:26:31 +0800
Subject: [PATCH] 双数据源
---
src/main/resources/application.yml | 102 ++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 92 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index c21bb59..6ab51fd 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -10,20 +10,28 @@
enabled: false
datasource:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- url: jdbc:sqlserver://192.168.4.15:1433;databasename=gdykasrs
+ jdbc-url: jdbc:sqlserver://127.0.0.1:1433;databasename=ytflasrs
username: sa
password: sa@123
+
+
mvc:
static-path-pattern: /**
redis:
host: localhost
port: 6379
database: 0
-# password: xltys1995
+ # password: xltys1995
servlet:
multipart:
maxFileSize: 100MB
maxRequestSize: 100MB
+other:
+ datasource:
+ jdbc-url: jdbc:mysql://192.168.5.61:3306/datareports
+ username: liku
+ password: 123456
+ driver-class-name: com.mysql.cj.jdbc.Driver
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
@@ -32,14 +40,14 @@
path: /stock/out/@pom.build.finalName@/logs
super:
- pwd: xltys1995
+ pwd: asrs2023
swagger:
enable: false
#License鐩稿叧閰嶇疆
license:
- subject: gdkyasrs
+ subject: integrationasrs
publicAlias: publicCert
storePass: public_zhongyang_123456789
licensePath: license.lic
@@ -50,7 +58,6 @@
# 鍙屾繁
doubleDeep: true
# 鍙屾繁搴撲綅鎺掑彿
-# doubleLocs: 1,4,11,14,21,24
doubleLocs: 1,4,5,8,9,12,13,16
# 涓�涓爢鍨涙満璐熻矗鐨勮揣鏋舵帓鏁�
groupCount: 4
@@ -58,16 +65,87 @@
doubleLocsLeft: 1,5,9,13
# 鍙虫繁搴撲綅鎺掑彿
doubleLocsRight: 4,8,12,16
+# wms鍙傛暟閰嶇疆
+wms-parameter:
+ # 鑷姩琛ョ┖鏉垮姛鑳藉紑鍏�
+ automaticFillingBoardStaNosBoolean: false
+ # 鑷姩琛ョ┖鏉跨珯鐐�
+ automaticFillingBoardStaNos: 112,101
+ # 鑷姩绉诲簱鍔熻兘寮�鍏�
+ autoLocMoveBoolean: false
+ # 鑷姩绉诲簱鍔熻兘寮�鍏� 绌挎
+ autoLocMoveUnilateralBoolean: false
-comb:
- limit: 5000
+
+
+# 鐢ㄥ弸NC瀵规帴
+NYNC:
+ ip:
+ prot:
+ #1.閿�鍞嚭搴撳崟鍙傜収鍙戣揣鍗曟柊澧�
+ saveRefDelivery: http://${ip}:${port}/nccloud/api/ic/saleout/saveRefDelivery
+ #2.鍏朵粬鍏ュ簱鍗曞弬鐓ц浆搴撴柊澧�
+ saveRefWhsTrans: http://ip:port/nccloud/api/ic/generalin/saveRefWhsTrans
+ #3.鏂板閲囪喘鍏ュ簱鍗�
+ purchasein: http://ip:port/nccloud/api/ic/purchasein/save
+ #4.1鏂板杞簱鍗�
+ whstrans: http://ip:port/nccloud/api/ic/whstrans/save
+ #4.2鍏朵粬鍑哄簱鍗曟柊澧�
+ generalout: http://ip:port/nccloud/api/ic/generalout/save
+ #4.3.鍏朵粬鍏ュ簱鍗曞弬鐓ц浆搴撴柊澧�
+ #saveRefWhsTrans: http://ip:port/nccloud/api/ic/generalin/saveRefWhsTrans
+ #5.1鏂板杞簱鍗�
+ #whstrans: http://ip:port/nccloud/api/ic/whstrans/save
+ #5.2鍏朵粬鍑哄簱鍗曟柊澧�
+ #generalout: http://ip:port/nccloud/api/ic/generalout/save
+ #5.3.鍏朵粬鍏ュ簱鍗曞弬鐓ц浆搴撴柊澧�
+ #saveRefWhsTrans: http://ip:port/nccloud/api/ic/generalin/saveRefWhsTrans
+ #6.璋冩嫧璁㈠崟鏌ヨ
+ #saveRefWhsTrans: http://ip:port/nccloud/api/ic/generalin/saveRefWhsTrans
+ #7.鐩樼偣鍗曟煡璇�
+ invcount: http://ip:port/nccloud/api/ic/invcount/query
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#erp瀵规帴
erp:
# 寮�鍏�
switch:
- InboundOrderSwitch: true
+ #璁℃椂鍣ㄤ笂鎶ュ紑鍏�
+ ErpReportOld: false
+ #鑾峰彇鍗曟嵁寮�鍏�
+ InboundOrderSwitch: false
+ #鐧诲綍鎺ュ彛寮�鍏�
LoginAuthenticationSwitch: false
+ #涓婃姤銆佸鏍稿崟鎹紑鍏�
ReviewOrderSwitch: false
# 鍦板潃
address:
@@ -76,10 +154,14 @@
loginaddress: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc
#鍗曟嵁锛屽晢鍝佹。妗堝湴鍧�
inaddress: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery.common.kdsvc
+ #缁撴灉涓婃姤锛堜繚瀛橈級鍗曞湴鍧�
+ outaddressSave: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save.common.kdsvc
+ #缁撴灉涓婃姤锛堟彁浜わ級鍗曞湴鍧�
+ outaddressSubmit: K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Submit.common.kdsvc
#缁撴灉涓婃姤锛堝鏍革級鍗曞湴鍧�
- outaddress: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Audit.common.kdsvc
+ outaddressAudit: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Audit.common.kdsvc
# 鐧诲綍璐﹀彿绠$悊
- login :
+ login:
acctID: "647e849ab6fa0f"
username: "llw"
password: "666666"
--
Gitblit v1.9.1