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