From 56e96066dd6595085703b25fe2dc317590fb06f2 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 10 七月 2025 16:55:37 +0800
Subject: [PATCH] 1

---
 src/main/resources/application.yml |   90 ++++-----------------------------------------
 1 files changed, 8 insertions(+), 82 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 682d88f..5a0ac37 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -4,12 +4,13 @@
     context-path: /@pom.build.finalName@
 
 spring:
+  profiles:
+    active: wcs
   application:
     name: @pom.build.finalName@
   datasource:
-    # sql-server
     driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsasrs
+    url: jdbc:sqlserver://127.0.0.1:1433;databasename=ytflasrs
     username: sa
     password: sa@123
   mvc:
@@ -22,11 +23,11 @@
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
-  global-config:
-    field-strategy: 0
+#  global-config:
+#    field-strategy: 0
 
 logging:
-  path: /stock/out/logs
+  path: /stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
@@ -34,80 +35,5 @@
 swagger:
   enable: false
 
-# 涓嬩綅鏈洪厤缃�
-#wcs-slave:
-  # 鍫嗗灈鏈�
-  crn[0]:
-    id: 1
-    ip: 192.168.6.9
-    port: 102
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=0
-    offset: 1
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 5
-      row: 2
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 6
-      row: 1
-      bay: 1
-      lev: 1
-  # 杈撻�佺嚎
-  devp[0]:
-    id: 1
-    ip: 192.168.2.125
-    port: 102
-    rack: 0
-    slot: 1
-    # 鍏ュ簱鍙�
-    inSta[0]:
-      staNo: 2
-      barcode: ${wcs-slave.barcode[0].id}
-    # 绌烘澘鍏ュ簱鍙�
-    emptyInSta[0]:
-      staNo: 2
-    # 鍑哄簱鍙�
-    outSta[0]:
-      staNo: 6
-    # 鎷f枡鍏ュ簱鍙�
-    pickSta[0]:
-      staNo: 2
-  # 鏉$爜鎵弿浠�
-  barcode[0]:
-    id: 1
-    ip: 192.168.2.150
-    port: 51236
-  # LED
-  led[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  # 纾呯О
-  scale[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+wms:
+  url: 127.0.0.1:8080/wms

--
Gitblit v1.9.1