From e6456d2196b3e57bd06be0fbc74dd3e0fc28fdeb Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 22 七月 2025 19:17:55 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/resources/application-hn.yml | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-hn.yml b/ruoyi-admin/src/main/resources/application-hn.yml index 120741d..3610632 100644 --- a/ruoyi-admin/src/main/resources/application-hn.yml +++ b/ruoyi-admin/src/main/resources/application-hn.yml @@ -7,7 +7,7 @@ # 涓诲簱鏁版嵁婧� master: # 娌冲崡 - url: jdbc:mysql://127.0.0.1:3308/smartor_hn?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://127.0.0.1:3308/smartor_hn?useUnicode=true&characterEncoding=utf8&&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root password: 123456 driverClassName: com.mysql.cj.jdbc.Driver @@ -15,12 +15,12 @@ # 浠庡簱鏁版嵁婧� slave: - # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴(鍏徃) - # enabled: true - # url: jdbc:sqlserver://116.62.18.175:6001;DatabaseName=iv-ywey;encrypt=false;SelectMethod=cursor - # username: sa - # password: Hxerp2000 - # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver + # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴(鍏徃) + enabled: true + url: jdbc:postgresql://10.10.13.108:5432/hdr + username: mbsjjk + password: sjjk@2025 + driver-class-name: org.postgresql.Driver # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴(涔変箤浜岄櫌) # enabled: true @@ -91,6 +91,12 @@ # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級 max-wait: -1ms +# PageHelper鍒嗛〉鎻掍欢 +pagehelper: + helperDialect: postgresql + supportMethodsArguments: true + params: count=countSql + # Swagger閰嶇疆 swagger: # 鏄惁寮�鍚痵wagger -- Gitblit v1.9.3