用户等级生效
This commit is contained in:
@@ -208,8 +208,8 @@ public class ResourceServiceImpl extends ServiceImpl<ResourceMapper, Resource> i
|
||||
isSkip = Integer.parseInt(val1) > Integer.parseInt(val2);
|
||||
}
|
||||
} else if (OperateType.GE.name().equals(kind)) {
|
||||
limitUserLevel = RuleCodeEnum.USER_LEVEL.name().equals(key) && limitUserLevel;
|
||||
if (!limitUserLevel) {
|
||||
boolean needLimit = RuleCodeEnum.USER_LEVEL.name().equals(key) && limitUserLevel;
|
||||
if (!needLimit) {
|
||||
if (targetValue.toString().contains(StrUtil.DOT) && !targetValue.toString().startsWith(StrUtil.DELIM_START) && !targetValue.toString().startsWith(StrUtil.DELIM_END)){
|
||||
isSkip = AppVersionUtil.compareVersion(val1, val2) < 0;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user