From 702549f5d846ae76cc005c56d03fd774a3caa341 Mon Sep 17 00:00:00 2001
From: L <L@132>
Date: 星期四, 23 四月 2026 14:23:01 +0800
Subject: [PATCH] *

---
 src/main/resources/application.yml |   54 +++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 35 insertions(+), 19 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 807458d..714aaeb 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -7,11 +7,10 @@
   application:
     name: @pom.build.finalName@
   datasource:
-    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-    url: jdbc:sqlserver://127.0.0.1:50751;databasename=gdhmasrs
-#    url: jdbc:sqlserver://127.0.0.1:50948;databasename=gdhmasrs
-    username: sa
-    password: sa@123
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://localhost:3306/car?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
+    username: root
+    password: root
   mvc:
     static-path-pattern: /**
   redis:
@@ -21,6 +20,8 @@
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
+  configuration:
+    map-underscore-to-camel-case: true
 
 logging:
   path: /stock/out/@pom.build.finalName@/logs
@@ -29,18 +30,22 @@
 super:
   pwd: xltys1995
 
-swagger:
-  enable: false
+springdoc:
+  api-docs:
+    enabled: false
+  swagger-ui:
+    enabled: false
 
 wms:
   url: 172.17.196.200:8084
   reportOutPath: open/rcs/task/cs/up/UploadTask
   reportSwitch: true
   reportSwitchAuto: false
+  reportSwitchCs: true
 
 #License鐩稿叧閰嶇疆
 license:
-  subject: gdhmasrs
+  subject: ring-shaped-car
   publicAlias: publicCert
   storePass: public_zhongyang_123456789
   licensePath: license.lic
@@ -58,13 +63,24 @@
   rgvCount: 10
   # 寤惰繜鏃堕棿
   rgvDate: 0.5
+  # 浠诲姟浼樺厛绾у弬鏁�
+  priority:
+    # 璺濈闃堝��(杞ㄩ亾鍗曚綅)锛�<=璇ュ�艰窛绂讳紭鍏堢骇涓篬0,1]锛�>璇ュ�间负[0,-1]
+    distance-threshold: 100000
+    # 鏉冮噸閰嶇疆(浼氬仛褰掍竴鍖栵紝寤鸿鍜岀害绛変簬1)
+    weight:
+      time: 0.4
+      distance: 0.4
+      region: 0.2
+    # 鍖哄煙浼樺厛绾�: region:priority锛屽涓敤閫楀彿鍒嗛殧锛宲riority鑼冨洿[-1,1]
+    region-values: "1:1,2:0.6,3:0.2,4:-0.2"
 
 # 涓嬩綅鏈洪厤缃�
 wcs-slave:
   # RGV绌挎杞�1
   rgv[0]:
     id: 1
-    ip: 172.17.196.3
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -72,7 +88,7 @@
   # RGV绌挎杞�1
   rgv[1]:
     id: 2
-    ip: 172.17.196.6
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -80,7 +96,7 @@
   # RGV绌挎杞�1
   rgv[2]:
     id: 3
-    ip: 172.17.196.9
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -88,7 +104,7 @@
   # RGV绌挎杞�1
   rgv[3]:
     id: 4
-    ip: 172.17.196.12
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -96,7 +112,7 @@
   # RGV绌挎杞�1
   rgv[4]:
     id: 5
-    ip: 172.17.196.15
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -104,7 +120,7 @@
   # RGV绌挎杞�1
   rgv[5]:
     id: 6
-    ip: 172.17.196.18
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -112,7 +128,7 @@
   # RGV绌挎杞�1
   rgv[6]:
     id: 7
-    ip: 172.17.196.21
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -120,7 +136,7 @@
   # RGV绌挎杞�1
   rgv[7]:
     id: 8
-    ip: 172.17.196.25
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -128,7 +144,7 @@
   # RGV绌挎杞�1
   rgv[8]:
     id: 9
-    ip: 172.17.196.28
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -136,8 +152,8 @@
   # RGV绌挎杞�1
   rgv[9]:
     id: 10
-    ip: 172.17.196.31
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
-    demo: false
\ No newline at end of file
+    demo: false

--
Gitblit v1.9.1