From 0344dc66783353faff118a0ea91f7d2aa07bbd4a Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期六, 02 四月 2022 18:47:44 +0800 Subject: [PATCH] 优化加密初始化方法 --- src/main/java/com/hx/mybatis/aes/springbean/MySqlInterceptor.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/mybatis/aes/springbean/MySqlInterceptor.java b/src/main/java/com/hx/mybatis/aes/springbean/MySqlInterceptor.java index 67ce671..71684ef 100644 --- a/src/main/java/com/hx/mybatis/aes/springbean/MySqlInterceptor.java +++ b/src/main/java/com/hx/mybatis/aes/springbean/MySqlInterceptor.java @@ -71,6 +71,7 @@ }else if(sqlCommandType == SqlCommandType.DELETE){ sql = SqlUtils.deleteSql(sql, VariableAesKey.aesKeysTable); } + //閫氳繃鍙嶅皠淇敼sql璇彞 Field field = boundSql.getClass().getDeclaredField("sql"); field.setAccessible(true); -- Gitblit v1.8.0