查询角色分组接口补充查询参数
This commit is contained in:
parent
80140309ad
commit
627a5852c1
@ -36,6 +36,16 @@ public class SaasRoleGroupVO {
|
||||
*/
|
||||
private List<Long> roleIds;
|
||||
|
||||
/**
|
||||
* 工作台id(自定义时传入)
|
||||
*/
|
||||
private Long workspaceId;
|
||||
|
||||
/**
|
||||
* 单位id(自定义时传入)
|
||||
*/
|
||||
private Long ouId;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
|
||||
@ -85,6 +85,8 @@ public class SaasRoleGroupServiceImpl implements SaasRoleGroupService {
|
||||
saasRoleGroup.setOuTypeCode(ouTypeCodeStr);
|
||||
saasRoleGroup.setName(req.getName());
|
||||
saasRoleGroup.setSort(req.getSort());
|
||||
saasRoleGroup.setWorkspaceId(req.getWorkspaceId() != null ? req.getWorkspaceId():-1l);
|
||||
saasRoleGroup.setOuId(req.getOuId() != null ? req.getOuId():-1l);
|
||||
saasRoleGroupDao.saveOrUpdate(saasRoleGroup);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user