Browse Source

修改配置

gao 1 month ago
parent
commit
0150668658

+ 4 - 2
crm-settlement/src/main/resources/application-dev.yml

@@ -5,10 +5,12 @@ spring:
     username: root
     username: root
     password: NSH01Y0GTmUNjgg6xw80qg==
     password: NSH01Y0GTmUNjgg6xw80qg==
   jpa:
   jpa:
-    database: MYSQL
     hibernate:
     hibernate:
-      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+      ddl-auto: none
     show-sql: true
     show-sql: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.MySQLDialect
   activemq:
   activemq:
     broker-url: tcp://localhost:61616
     broker-url: tcp://localhost:61616
 logging:
 logging:

+ 4 - 2
crm-settlement/src/main/resources/application-ho.yml

@@ -5,10 +5,12 @@ spring:
     username: root
     username: root
     password: 123123
     password: 123123
   jpa:
   jpa:
-    database: MYSQL
     hibernate:
     hibernate:
-      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+      ddl-auto: none
     show-sql: true
     show-sql: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.MySQLDialect
   activemq:
   activemq:
     broker-url: tcp://localhost:61616
     broker-url: tcp://localhost:61616
 logging:
 logging:

+ 4 - 2
crm-settlement/src/main/resources/application-hu.yml

@@ -5,10 +5,12 @@ spring:
     username: root
     username: root
     password: F28c49d8be
     password: F28c49d8be
   jpa:
   jpa:
-    database: MYSQL
     hibernate:
     hibernate:
-      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+      ddl-auto: none
     show-sql: true
     show-sql: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.MySQLDialect
   activemq:
   activemq:
     broker-url: tcp://localhost:61616
     broker-url: tcp://localhost:61616
 logging:
 logging:

+ 4 - 2
crm-settlement/src/main/resources/application-prod.yml

@@ -5,10 +5,12 @@ spring:
     username: pay_user
     username: pay_user
     password: YcEWyqZTHWj8KvASB+gQ629m
     password: YcEWyqZTHWj8KvASB+gQ629m
   jpa:
   jpa:
-    database: MYSQL
     hibernate:
     hibernate:
-      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+      ddl-auto: none
     show-sql: true
     show-sql: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.MySQLDialect
   activemq:
   activemq:
     broker-url: tcp://localhost:61616
     broker-url: tcp://localhost:61616
   data:
   data:

+ 4 - 2
crm-settlement/src/main/resources/application-test.yml

@@ -5,10 +5,12 @@ spring:
     username: root
     username: root
     password: NSH01Y0GTmUNjgg6xw80qg==
     password: NSH01Y0GTmUNjgg6xw80qg==
   jpa:
   jpa:
-    database: MYSQL
     hibernate:
     hibernate:
-      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+      ddl-auto: none
     show-sql: true
     show-sql: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.MySQLDialect
 logging:
 logging:
   level:
   level:
     com.crm.manager.dao.mapper: trace
     com.crm.manager.dao.mapper: trace

+ 5 - 1
crm-settlement/src/main/resources/application.yml

@@ -9,7 +9,10 @@ spring:
 
 
 logging:
 logging:
   level:
   level:
-    com.crm.settlement: info
+    com.crm.manager.dao.mapper: trace
+mybatis:
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 
 login:
 login:
   excludePathPatterns:
   excludePathPatterns:
@@ -17,3 +20,4 @@ login:
 
 
 role:
 role:
   excludePathPatterns: /**
   excludePathPatterns: /**
+