From 0d8421e7abf1d6fa56121da12264c51876184422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 6 Sep 2021 16:42:03 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=80=82=E9=85=8D=20mybatis-plus=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 6e4888dcc..deffa273b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -134,8 +134,6 @@ mybatis-plus: # REUSE:该执行器类型会复用预处理语句(PreparedStatement) # BATCH:该执行器类型会批量执行所有的更新语句 executorType: SIMPLE - # 指定外部化 MyBatis Properties 配置,通过该配置可以抽离配置,实现不同环境的配置部署 - configurationProperties: null configuration: # 自动驼峰命名规则(camel case)映射 # 如果您的数据库命名符合规则无需使用 @TableField 注解指定数据库字段名 @@ -204,7 +202,7 @@ mybatis-plus: # 字段验证策略之 update,在 update 的时候的字段验证策略 updateStrategy: NOT_NULL # 字段验证策略之 select,在 select 的时候的字段验证策略既 wrapper 根据内部 entity 生成的 where 条件 - selectStrategy: NOT_NULL + where-strategy: NOT_NULL # Swagger配置 swagger: