ruoyi-common/ruoyi-common-encrypt/src/main/java/com/ruoyi/common/encrypt/interceptor/MybatisDecryptInterceptor.java
@@ -1,6 +1,7 @@ package com.ruoyi.common.encrypt.interceptor; import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.ObjectUtil; import com.ruoyi.common.core.utils.StringUtils; import com.ruoyi.common.encrypt.annotation.EncryptField; import com.ruoyi.common.encrypt.core.EncryptContext; @@ -55,6 +56,9 @@ * @param sourceObject 待加密对象 */ private void decryptHandler(Object sourceObject) { if (ObjectUtil.isNull(sourceObject)) { return; } if (sourceObject instanceof Map<?, ?> map) { map.values().forEach(this::decryptHandler); return; ruoyi-common/ruoyi-common-encrypt/src/main/java/com/ruoyi/common/encrypt/interceptor/MybatisEncryptInterceptor.java
@@ -65,6 +65,9 @@ * @param sourceObject 待加密对象 */ private void encryptHandler(Object sourceObject) { if (ObjectUtil.isNull(sourceObject)) { return; } if (sourceObject instanceof Map<?, ?> map) { map.values().forEach(this::encryptHandler); return;