diff --git a/pom.xml b/pom.xml
index 94fd1e34217acc864e5422c883a904609695b795..0b1aef01970aa1f670d499daa7a3260417dd8498 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,23 +77,12 @@
1.2.62
-
-
-
-
-
-
-
-
-
-
org.postgresql
postgresql
- 9.4.1212.jre7
+ 9.4.1212
-
org.projectlombok
lombok
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 7809dcba1700fa2789dccdfd1029112512af641f..9a47390d9617aabc3e54bfc2a15aa9f3adfa1936 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -13,13 +13,20 @@ knife4j:
enable: true
mybatis-plus:
+ global-config:
+ #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
+ field-strategy: 0
mapper-locations: classpath:/mapper/*.xml
configuration:
- # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+ log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 是否开启自动驼峰命名规则
map-underscore-to-camel-case: true
+ #指定自定义 Handler 所在的包位置
+ type-handlers-package: com.pms.ocp.common.handler
+
+
logging:
level:
com.pms.ocp.mapper: debug