|
@@ -144,7 +144,7 @@ public class SaasRoleController {
|
|
|
SaasRole saasRole = new SaasRole();
|
|
|
BeanUtils.copyProperties(queryVO,saasRole);
|
|
|
LambdaQueryWrapper<SaasRole> queryWrapper = new SaasRole.Builder().createQueryWrapper().groupCodeEq(saasRole.getGroupCode())
|
|
|
- .roleNameEq(queryVO.getRoleName()).roleTypeEq(queryVO.getRoleType()).builderQueryWrapper();
|
|
|
+ .roleNameEq(saasRole.getRoleName()).roleTypeEq(saasRole.getRoleType()).builderQueryWrapper();
|
|
|
List<SaasRole> list = this.saasRoleService.list(queryWrapper);
|
|
|
if (CollectionUtil.isEmpty(list)) {
|
|
|
return ResponseResultUtil.successResult(Lists.newArrayList(), 0L);
|