From ebb0ec9bd15de8185994962c37b15a94c8b4ee0d Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 13 一月 2025 20:05:16 +0800
Subject: [PATCH] update

---
 lxzn-module-system/lxzn-system-start/src/main/resources/application-prod.yml |   93 ++++++++++++++--------------------------------
 1 files changed, 28 insertions(+), 65 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-start/src/main/resources/application-prod.yml b/lxzn-module-system/lxzn-system-start/src/main/resources/application-prod.yml
index 427bd7b..6f9feb1 100644
--- a/lxzn-module-system/lxzn-system-start/src/main/resources/application-prod.yml
+++ b/lxzn-module-system/lxzn-system-start/src/main/resources/application-prod.yml
@@ -38,39 +38,22 @@
   ## quartz瀹氭椂浠诲姟,閲囩敤鏁版嵁搴撴柟寮�
   quartz:
     job-store-type: jdbc
-    initialize-schema: embedded
+    jdbc:
+      initialize-schema: never
     #瀹氭椂浠诲姟鍚姩寮�鍏筹紝true-寮�  false-鍏�
     auto-startup: true
     #寤惰繜1绉掑惎鍔ㄥ畾鏃朵换鍔�
     startup-delay: 1s
     #鍚姩鏃舵洿鏂板繁瀛樺湪鐨凧ob
     overwrite-existing-jobs: true
-    properties:
-      org:
-        quartz:
-          scheduler:
-            instanceName: MyScheduler
-            instanceId: AUTO
-          jobStore:
-            selectWithLockSQL: SELECT* FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ?
-            # class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
-            # driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
-            # tablePrefix: QRTZ_
-            # isClustered: true
-            # misfireThreshold: 12000
-            # clusterCheckinInterval: 15000
-          threadPool:
-            class: org.quartz.simpl.SimpleThreadPool
-            threadCount: 10
-            threadPriority: 5
-            threadsInheritContextClassLoaderOfInitializingThread: true
   #json 鏃堕棿鎴崇粺涓�杞崲
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
   jpa:
-    open-in-view: false
-    database-platform: org.hibernate.dialect.SQLServerDialect
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.Oracle8iDialect
   aop:
     proxy-target-class: true
   #閰嶇疆freemarker
@@ -95,53 +78,21 @@
       matching-strategy: ant_path_matcher
   resource:
     static-locations: classpath:/static/,classpath:/public/
-  autoconfigure:
-    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
+#  autoconfigure:
+#    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
   datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
     druid:
-      stat-view-servlet:
-        enabled: true
-        loginUsername: admin
-        loginPassword: 123456
-        allow:
-      web-stat-filter:
-        enabled: true
-    dynamic:
-      druid: # 鍏ㄥ眬druid鍙傛暟锛岀粷澶ч儴鍒嗗�煎拰榛樿淇濇寔涓�鑷淬��(鐜板凡鏀寔鐨勫弬鏁板涓�,涓嶆竻妤氬惈涔変笉瑕佷贡璁剧疆)
-        # 杩炴帴姹犵殑閰嶇疆淇℃伅
-        # 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶�
-        initial-size: 5
-        min-idle: 5
-        maxActive: 1000
-        # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂�
-        maxWait: 60000
-        # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣
-        timeBetweenEvictionRunsMillis: 60000
-        # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣
-        minEvictableIdleTimeMillis: 300000
-        validationQuery: SELECT 1
-        testWhileIdle: true
-        testOnBorrow: false
-        testOnReturn: false
-        # 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏�
-        poolPreparedStatements: true
-        maxPoolPreparedStatementPerConnectionSize: 20
-        # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰sql鏃犳硶缁熻锛�'wall'鐢ㄤ簬闃茬伀澧�
-        filters: stat,wall,slf4j
-        # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍
-        connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
-      datasource:
-        master:
-          url: jdbc:sqlserver://195.0.1.10:1433;databasename=SSGX_kns
-          username: sa
-          password: Sa123456789
-          driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
+      driverClassName: dm.jdbc.driver.DmDriver
+      url: jdbc:dm://LOCALHOST:5236/?LXZN_MDC&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+      username: LXZN_MDC
+      password: 123
   #redis 閰嶇疆
   redis:
     database: 0
     host: 127.0.0.1
     port: 6379
-    password:
+    password: 123456
 #mybatis plus 璁剧疆
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
@@ -242,8 +193,8 @@
   production: false
   basic:
     enable: true
-    username: jeecg
-    password: jeecg1314
+    username: lxzn
+    password: lxzn1688
 #绗笁鏂圭櫥褰�
 justauth:
   enabled: true
@@ -291,4 +242,16 @@
       client-id: ??
       # appSecret
       client-secret: ??
-      agent-id: ??
\ No newline at end of file
+      agent-id: ??
+fileService:
+  host: 127.0.0.1
+  port: 8299
+  username: admin
+  pwd: 123
+  addressToken: /outer/appAuth
+  addressUploadFile: /outer/fileUpload
+  localFilePath: D:/data/sql
+  servicePath: D:/data/sql
+  logIp: 127.0.0.1
+  logPort: 8888
+  newFilePath: D:/data/bak_sql/  #澶囦唤鍦板潃
\ No newline at end of file

--
Gitblit v1.9.3