chenjiahe
2022-04-02 0344dc66783353faff118a0ea91f7d2aa07bbd4a
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);