mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-02 03:34:58 +08:00
!1106 【Bug修复】修复滑动脱敏处理器禁用脱敏的判断
Merge pull request !1106 from Asa/master-jdk17
This commit is contained in:
commit
5bf6361ebd
@ -17,7 +17,7 @@ public abstract class AbstractSliderDesensitizationHandler<T extends Annotation>
|
|||||||
public String desensitize(String origin, T annotation) {
|
public String desensitize(String origin, T annotation) {
|
||||||
// 1. 判断是否禁用脱敏
|
// 1. 判断是否禁用脱敏
|
||||||
Object disable = SpringExpressionUtils.parseExpression(getDisable(annotation));
|
Object disable = SpringExpressionUtils.parseExpression(getDisable(annotation));
|
||||||
if (Boolean.FALSE.equals(disable)) {
|
if (Boolean.TRUE.equals(disable)) {
|
||||||
return origin;
|
return origin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user