From 2b8ab9cc4d538e2f02e6882b0bfa7934ae7bdbb4 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 12 三月 2021 18:02:23 +0800 Subject: [PATCH] update 使用hutool重写系统监控 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java index 7f46a75..c274e36 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java @@ -1,7 +1,6 @@ package com.ruoyi.framework.config; import com.baomidou.mybatisplus.annotation.DbType; -import com.baomidou.mybatisplus.autoconfigure.ConfigurationCustomizer; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import com.baomidou.mybatisplus.core.incrementer.IKeyGenerator; import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator; @@ -47,14 +46,6 @@ } /** - * 鏂扮殑鍒嗛〉鎻掍欢,涓�缂撳拰浜岀紦閬靛惊mybatis鐨勮鍒�,闇�瑕佽缃� MybatisConfiguration#useDeprecatedExecutor = false 閬垮厤缂撳瓨鍑虹幇闂(璇ュ睘鎬т細鍦ㄦ棫鎻掍欢绉婚櫎鍚庝竴鍚岀Щ闄�) - */ - @Bean - public ConfigurationCustomizer configurationCustomizer() { - return configuration -> configuration.setUseDeprecatedExecutor(false); - } - - /** * 涔愯閿佹彃浠� * https://baomidou.com/guide/interceptor-optimistic-locker.html */ @@ -76,22 +67,6 @@ */ // public IllegalSQLInnerInterceptor illegalSQLInnerInterceptor() { // return new IllegalSQLInnerInterceptor(); -// } - - /** - * Sequence涓婚敭绛栫暐 IdType.INPUT 鏃朵娇鐢� - * 鍐呯疆鏀寔锛� - * - * DB2KeyGenerator - * H2KeyGenerator - * KingbaseKeyGenerator - * OracleKeyGenerator - * PostgreKeyGenerator - * https://baomidou.com/guide/sequence.html - */ -// @Bean -// public IKeyGenerator keyGenerator() { -// return new H2KeyGenerator(); // } -- Gitblit v1.9.3