|
|
@ -52,8 +52,7 @@ public class CryptographySupport extends MybatisPlugin {
|
|
|
|
protected Object handle(ResultSetHandler resultSetHandler, Statement statement) throws SQLException {
|
|
|
|
protected Object handle(ResultSetHandler resultSetHandler, Statement statement) throws SQLException {
|
|
|
|
Object obj = super.handle(resultSetHandler, statement);
|
|
|
|
Object obj = super.handle(resultSetHandler, statement);
|
|
|
|
|
|
|
|
|
|
|
|
if (obj instanceof List) {
|
|
|
|
if (obj instanceof List<?> list) {
|
|
|
|
List<?> list = (List<?>)obj;
|
|
|
|
|
|
|
|
list.forEach(this::decrypt);
|
|
|
|
list.forEach(this::decrypt);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
decrypt(obj);
|
|
|
|
decrypt(obj);
|
|
|
|