From 346eb22b5ab622064d1f61819240656529800f2b Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 14 一月 2022 13:05:53 +0800 Subject: [PATCH] Mysql数据库AES加密工具 --- 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