From 23d0156a399ebe455d2fac9d3af6b429b8867eef Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 24 八月 2023 18:46:23 +0800
Subject: [PATCH] 提交代码

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml |  181 ++++++++++++++++++++++++++++-----------------
 1 files changed, 113 insertions(+), 68 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml
index b79ea32..598f7ba 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml
@@ -1,74 +1,119 @@
-#####搴旂敤鍩烘湰閰嶇疆
-app:
-  name: web
-  group: 鍖椾含瀹忓崥杩滆揪绉戞妧鏈夐檺鍏徃
-  description: 骞冲彴B/S瀹㈡埛绔�
-  private-token-key: vciweb20210212
-###tomcat鐩稿叧鐨勯厤缃�
+#鏈嶅姟鍣ㄧ鍙�
 server:
-  port: 12000
+  port: 36014
+  tomcat:
+    uri-encoding: UTF-8
   servlet:
-    context-path: /web
-###log4j2鐨勯厤缃紝闇�瑕佸摢涓寘涓嬬殑鏂囦欢寮�鍚煇涓瓑绾э紝灏辩洿鎺xxxx: yy杩欐牱鏂瑰紡
-logging:
-  config: "classpath:log4j2-spring-prod.xml"
-  level:
-    com.vci: debug
-  root: info
-###鏈」鐩殑閰嶇疆锛屾敞鎰弒pring瀹舵棌璇诲彇閰嶇疆鏃讹紝澶у啓瀛楁瘝闇�瑕佽浆鎹负-鐨勬柟寮忥紝鑰宖eign闇�瑕佸ぇ灏忓啓瀹屽叏鐩稿悓
-session:
-  session-info-storage-type: "database"
-  database-platform: oracle
-  clear-session-on-start: false
-  ###鏄惁寮�鍚敤鎴峰湪绾挎鏌�
-  checkSessionTimeout: false
-  ###瀹㈡埛绔垽鏂秴鏃惰疆璇㈡椂闂达紝鍗曚綅涓虹
-  sessionInterval: 10
-  ###瀹㈡埛绔渶澶у瓨鍦ㄦ椂闂达紝鍗曚綅涓哄垎閽�
-  sessionIdlTime: 30
-  ###瓒呮椂鎻愰啋鏃堕棿锛屽崟浣嶄负鍒嗛挓
-  sessionRemind: 3
-###鍏煎鎬э紝蹇呴』璁剧疆涓鸿繖涓�
-user-table-compatibility: "platform1"
-#缂撳瓨閰嶇疆
-###corba鐨勯厤缃�
-jacorb:
-  client:
-    enabled: true
-    url: "corbaloc::localhost:30000/NameService"
-    instanceIdentity: "platform-sf"
-#鍙�2021鐗堟湰鐨勯儴鍒嗘帴鍙g殑褰卞搷锛屼笅闈㈢殑鍐呭闇�瑕侀厤缃紝
-vciPlatform:
-  objectServiceUrl: "2"
-#缂撳瓨
+    encoding:
+      enabled: true
+      charset: UTF-8
+      force: true
+#鏁版嵁婧愰厤缃�
 spring:
-  # redis閰嶇疆
-  redis: ###### redis 閰嶇疆
-    enabled: true  #true锛屽惎鐢╮edi锛宖alse涓嶅惎鐢紝榛樿false,閰嶇疆鏂囦欢娌℃湁杩欎簺榛樿涓嶅惎鐢╮edis
-    host: vciserver  # ip鍦板潃
-    database: 0  # redis鏁版嵁搴�  0-15
-    port: 6379  # 绔彛鍙�
-    password: vcitest # 鏃犲瘑鐮佷笉濉�
-    timeout: 30000s   # 杩炴帴瓒呮椂鏃堕棿 锛堥粯璁�1澶╋級
-    lettuce:
-      shutdown-timeout: 100ms # 鍏抽棴瓒呮椂鏃堕棿 榛樿 100ms
-      pool: # lettuce 杩炴帴姹�
-        max-active: 8 # 杩炴帴姹犳渶澶ц繛鎺ユ暟 榛樿 8锛�-1 锛氳〃绀烘病鏈夐檺鍒讹級
-        max-wait: 60000ms # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂� 榛樿-1ms 锛�-1 :琛ㄧず娌℃湁闄愬埗锛� 杩欓噷璁剧疆1鍒嗛挓
-        max-idle: 8 # 鏈�澶х┖闂茶繛鎺�  榛樿 8
-        min-idle: 0 # 鏈�灏忕┖闂茶繛鎺�  榛樿 0
-  cache:
-    type: redis
-  config:
-    location:
-##web閰嶇疆
-vciweb:
-  debug: true
+  datasource:
+    url: ${ubcs.datasource.mdm.dev.url}
+    username: ${ubcs.datasource.mdm.dev.username}
+    password: ${ubcs.datasource.mdm.dev.password}
+  messages:
+    encoding: utf-8
+    basename: i18n/messages
+#鍏抽棴椹煎嘲鍛藉悕鏄犲皠
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: false
+    call-setters-on-nulls: true
 
-dataSyncPush:
-  isStart: true
-  cronTime: "0 0/1 * * * ?"
-
+#椤跺眰鎵归噺鐢宠閰嶇疆
+batchadd:
+  exportattr:
+    type: 鍩烘湰淇℃伅
+    redis:
+      time: 6000000
+#缁熶竴鎺ュ彛灞炴�ф槧灏勬枃浠堕厤缃�
 attrconfig:
   #绯荤粺闆嗘垚
-  system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml}
\ No newline at end of file
+  system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
+#鏁版嵁瀹氭椂鎺ㄩ�侀厤缃�
+dataSyncPush:
+  isStart: false
+  cronTime: "0 0/1 * * * ?"
+  dataParamName: dataString
+  dataTranTemp: D:\desktop
+#鍒嗙被瀹氭椂鎺ㄩ�侀厤缃�
+clsfSyncPush:
+  isStart: false
+  cronTime: "0 0/1 * * * ?"
+  dataParamName: dataString
+  dataTranTemp: D:\desktop
+#缁熶竴鎺ュ彛鐩稿叧閰嶇疆
+code:
+  universalinterface:
+    checkSystemConfig: false
+    attrconfig:
+      #绯荤粺闆嗘垚
+      system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
+
+#mybatis-plus-join:
+#  table-alias: t
+
+######搴旂敤鍩烘湰閰嶇疆
+#app:
+#  name: web
+#  group: 鍖椾含瀹忓崥杩滆揪绉戞妧鏈夐檺鍏徃
+#  description: 骞冲彴B/S瀹㈡埛绔�
+#  private-token-key: vciweb20210212
+
+###鏈」鐩殑閰嶇疆锛屾敞鎰弒pring瀹舵棌璇诲彇閰嶇疆鏃讹紝澶у啓瀛楁瘝闇�瑕佽浆鎹负-鐨勬柟寮忥紝鑰宖eign闇�瑕佸ぇ灏忓啓瀹屽叏鐩稿悓
+#session:
+#  session-info-storage-type: "database"
+#  database-platform: oracle
+#  clear-session-on-start: false
+#  ###鏄惁寮�鍚敤鎴峰湪绾挎鏌�
+#  checkSessionTimeout: false
+#  ###瀹㈡埛绔垽鏂秴鏃惰疆璇㈡椂闂达紝鍗曚綅涓虹
+#  sessionInterval: 10
+#  ###瀹㈡埛绔渶澶у瓨鍦ㄦ椂闂达紝鍗曚綅涓哄垎閽�
+#  sessionIdlTime: 30
+#  ###瓒呮椂鎻愰啋鏃堕棿锛屽崟浣嶄负鍒嗛挓
+#  sessionRemind: 3
+#user-table-compatibility: "platform1"
+##鍙�2021鐗堟湰鐨勯儴鍒嗘帴鍙g殑褰卞搷锛屼笅闈㈢殑鍐呭闇�瑕侀厤缃紝
+#vciPlatform:
+#  objectServiceUrl: ""
+#  cache:
+##    type: ehcache
+#
+###web閰嶇疆
+#vciweb:
+#  debug: true
+#file-preview:
+#  enabled: true
+#  preview-service-url: "http://dev.yunkeruida.top:28090/vciFilePreview/ajaxPreview.html"
+#  preview-system-key: plt2020
+#docking:
+#  #鏄惁寮�鍚富鏁版嵁/鍒嗙被鏁版嵁鎺ㄩ�佸悓姝�
+#  insertCache2: false
+#  cron: 0 0/1 * * * ?
+#  #棰勭敵璇锋暟鎹紝閰嶇疆妯℃澘鏂囦欢瀛樻斁鐨勬枃浠跺す
+#  templateDir: D:\desktop
+#  tranTemp: D:\mes
+#  #鍥惧彿鐨刱ey
+#  tuhao: tuhao
+#
+#dataSyncPush:
+#  isStart: false
+#  cronTime: "0 0/1 * * * ?"
+#  dataParamName: dataString
+#  dataTranTemp: D:\desktop
+#clsfSyncPush:
+#  isStart: false
+#  cronTime: "0 0/1 * * * ?"
+#  dataParamName: dataString
+#  dataTranTemp: D:\desktop
+#
+#attrconfig:
+#  #绯荤粺闆嗘垚
+#  system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
+#  #MPM鏋氫妇鍊煎睘鎬ф槧灏�
+#  mpmEnumMap: {partType: [{enumValue: 1,enumText: 浜у搧},{enumValue: 2,enumText: 浜у搧},{'enumValue': 3,enumText: 鏍囧噯浠秨,{'enumValue': 7,enumText: 鏉愭枡}]}
+

--
Gitblit v1.9.3