From ec32e8b39f561b76c07fc7241d4a0a6f34640ef7 Mon Sep 17 00:00:00 2001 From: tanghc Date: Thu, 29 Aug 2019 14:42:39 +0800 Subject: [PATCH] 2.0 --- .../src/main/resources/application-dev.properties | 4 ++-- sop-gateway/src/main/resources/application-dev.properties | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sop-admin/sop-admin-server/src/main/resources/application-dev.properties b/sop-admin/sop-admin-server/src/main/resources/application-dev.properties index 8159ac44..5fc92919 100644 --- a/sop-admin/sop-admin-server/src/main/resources/application-dev.properties +++ b/sop-admin/sop-admin-server/src/main/resources/application-dev.properties @@ -33,8 +33,8 @@ easyopen.ignore-validate=true logging.level.com.gitee=debug # 不用改 -mybatis.ignore-update-columns[0]=gmt_create -mybatis.ignore-update-columns[1]=gmt_modified +mybatis.fill.com.gitee.fastmybatis.core.support.DateFillInsert=gmt_create +mybatis.fill.com.gitee.fastmybatis.core.support.DateFillUpdate=gmt_modified # 不用改,如果要改,请全局替换修改 zuul.secret=MZZOUSTua6LzApIWXCwEgbBmxSzpzC diff --git a/sop-gateway/src/main/resources/application-dev.properties b/sop-gateway/src/main/resources/application-dev.properties index b45f0b42..a1dc0b30 100644 --- a/sop-gateway/src/main/resources/application-dev.properties +++ b/sop-gateway/src/main/resources/application-dev.properties @@ -44,6 +44,10 @@ spring.datasource.url=jdbc:mysql://${mysql.host}/sop?useUnicode=true&characterEn spring.datasource.username=${mysql.username} spring.datasource.password=${mysql.password} +# 不用改 +mybatis.fill.com.gitee.fastmybatis.core.support.DateFillInsert=gmt_create +mybatis.fill.com.gitee.fastmybatis.core.support.DateFillUpdate=gmt_modified + # 文件上传配置 spring.servlet.multipart.enabled=true spring.servlet.multipart.max-file-size=20MB