feat:(REQ-2699) 修改权限点版本过滤条件

This commit is contained in:
lilong 2024-08-09 14:02:04 +08:00
parent 5ea15447ad
commit fc0f60e467

View File

@ -1532,7 +1532,7 @@ public class TyrSaasAuthServiceImpl implements TyrSaasAuthService {
.filter(f -> StringUtils.isBlank(identityAuthReq.getAppType())
|| Objects.equals(identityAuthReq.getAppType(), f.getAppType()))
.filter(f -> Objects.isNull(identityAuthReq.getVersionMax())
|| identityAuthReq.getVersionMax().compareTo(f.getVersion()) < 1)
|| identityAuthReq.getVersionMax().compareTo(f.getVersion()) > -1)
.collect(Collectors.toList()))
.orElse(null);