From 90f5a895cc5b465c9faec5eb8b5132df304c51ce Mon Sep 17 00:00:00 2001 From: wangjingsheng Date: Thu, 10 Mar 2022 15:21:29 +0800 Subject: [PATCH] =?UTF-8?q?pom=20jar=E5=8C=85=E7=89=88=E6=9C=AC=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20=20=20=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 13 +------------ src/main/resources/application.yml | 11 +++++++++-- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 94fd1e3..0b1aef0 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 7809dcb..9a47390 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 -- 2.26.0