Преглед на файлове

修复format格式问题

Signed-off-by: uyong <514592053@qq.com>
uyong преди 2 години
родител
ревизия
dfbde146f0

+ 1 - 1
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/IllegalSQLInnerInterceptor.java

@@ -329,7 +329,7 @@ public class IllegalSQLInnerInterceptor extends JsqlParserSupport implements Inn
                     indexInfoMap.put(key, indexInfos);
                 }
             } catch (SQLException e) {
-                logger.error(String.format("getIndexInfo fault, with key:{}, dbName:{}, tableName:{}", key, dbName, tableName), e);
+                logger.error(String.format("getIndexInfo fault, with key:%s, dbName:%s, tableName:%s", key, dbName, tableName), e);
             }
         }
         return indexInfos;