Commit 69723549 by “zcwang”

fix bug: mapper扫描

parent 4edac5cc
...@@ -14,17 +14,14 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver ...@@ -14,17 +14,14 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://10.130.72.182:4306/hd_qc_ecr?useUnicode=true&characterEncoding=UTF-8&autoReconnet=true spring.datasource.url=jdbc:mysql://10.130.72.182:4306/hd_qc_ecr?useUnicode=true&characterEncoding=UTF-8&autoReconnet=true
spring.datasource.username=hd_qc_ecr spring.datasource.username=hd_qc_ecr
spring.datasource.password=hd_qc_ecr spring.datasource.password=hd_qc_ecr
spring.datasource.tomcat.time-between-eviction-runs-millis=180000
spring.datasource.tomcat.max-active=50 #tomcat
spring.datasource.tomcat.max-idle=10 server.tomcat.max-threads=600
spring.datasource.tomcat.max-wait=10000 server.tomcat.uri-encoding=UTF-8
spring.datasource.tomcat.remove-abandoned=true server.tomcat.basedir=/home/logs/access
spring.datasource.tomcat.remove-abandoned-timeout=10 server.tomcat.accesslog.enabled=true
spring.datasource.tomcat.validation-query=select 1 server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %{X-Forwarded-For}i %D %{P_INFO}c %{Referer}i %{User-Agent}i %{Host}i
spring.datasource.tomcat.num-tests-per-eviction-run=10
spring.datasource.tomcat.min-evictable-idle-time-millis=300000
spring.datasource.tomcat.log-abandoned=true
mybatis.mapperLocations=classpath*:/mapper/*.xml
mapper.style=normal mapper.style=normal
mapper.enum-as-simple-type=true mapper.enum-as-simple-type=true
......
...@@ -14,16 +14,14 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver ...@@ -14,16 +14,14 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://10.170.155.148:4306/qc_ecr_system?useUnicode=true&characterEncoding=UTF-8&autoReconnet=true spring.datasource.url=jdbc:mysql://10.170.155.148:4306/qc_ecr_system?useUnicode=true&characterEncoding=UTF-8&autoReconnet=true
spring.datasource.username=qc_ecr_system spring.datasource.username=qc_ecr_system
spring.datasource.password=qc_ecr_system spring.datasource.password=qc_ecr_system
spring.datasource.tomcat.time-between-eviction-runs-millis=180000
spring.datasource.tomcat.max-active=50 #tomcat
spring.datasource.tomcat.max-idle=10 server.tomcat.max-threads=600
spring.datasource.tomcat.max-wait=10000 server.tomcat.uri-encoding=UTF-8
spring.datasource.tomcat.remove-abandoned=true server.tomcat.basedir=/home/logs/access
spring.datasource.tomcat.remove-abandoned-timeout=10 server.tomcat.accesslog.enabled=true
spring.datasource.tomcat.validation-query=select 1 server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %{X-Forwarded-For}i %D %{P_INFO}c %{Referer}i %{User-Agent}i %{Host}i
spring.datasource.tomcat.num-tests-per-eviction-run=10
spring.datasource.tomcat.min-evictable-idle-time-millis=300000
spring.datasource.tomcat.log-abandoned=true
# mybatis # mybatis
mybatis.mapper-locations=classpath:mybatis/mapper/*.xml mybatis.mapper-locations=classpath:mybatis/mapper/*.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment