ouTypeId -> ouTypeCode
workspaceTypeId -> workspaceTypeCode
This commit is contained in:
parent
8188cb5886
commit
35683b2f99
@ -35,10 +35,4 @@ public interface SaasRoleApi {
|
||||
@PostMapping("query")
|
||||
ApiListResult<SaasRoleVO> query(@RequestBody QuerySaasRoleReq req);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@PostMapping("delete")
|
||||
ApiResult delete(@RequestParam(required = true) Long id);
|
||||
|
||||
}
|
||||
|
||||
@ -26,13 +26,13 @@ public class QuerySaasRoleGroupReq {
|
||||
private Long ouId;
|
||||
|
||||
/**
|
||||
* 工作台类型字典id
|
||||
* 工作台类型字典code
|
||||
*/
|
||||
private List<String> workspaceTypeIds;
|
||||
private List<String> workspaceTypeCode;
|
||||
|
||||
/**
|
||||
* 单位类型字典id
|
||||
* 单位类型字典code
|
||||
*/
|
||||
private List<String> ouTypeIds;
|
||||
private List<String> ouTypeCode;
|
||||
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
package cn.axzo.tyr.client.model.req;
|
||||
|
||||
import cn.axzo.tyr.client.model.enums.IdentityType;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@ -13,7 +14,10 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class QuerySaasRoleReq {
|
||||
|
||||
private List<Long> id;
|
||||
/**
|
||||
* 角色id
|
||||
*/
|
||||
private List<Long> ids;
|
||||
|
||||
/**
|
||||
* 角色名称
|
||||
@ -21,28 +25,40 @@ public class QuerySaasRoleReq {
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 角色类型:common 普通角色 admin管理员
|
||||
* 角色类型:common 自定义角色 admin管理员 init标准角色
|
||||
*/
|
||||
private String roleType;
|
||||
|
||||
/**
|
||||
* 工作台类型
|
||||
*/
|
||||
private Integer workspaceTypeCode;
|
||||
|
||||
/**
|
||||
* 工作台类型id
|
||||
*/
|
||||
|
||||
/**
|
||||
* 身份Id
|
||||
*/
|
||||
private Long identityId;
|
||||
|
||||
/**
|
||||
* 身份类型 1:工人 2:从业人员 3:班组长 4:运营人员 5:政务人员
|
||||
*/
|
||||
private IdentityType identityType;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
private Long createBy;
|
||||
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
private Long updateBy;
|
||||
|
||||
/**
|
||||
* 工作台Id
|
||||
*/
|
||||
private Long workspaceId;
|
||||
|
||||
/**
|
||||
* 角色owner单位Id 实际角色和用户的所属关系 具体查询relation的ouId
|
||||
*/
|
||||
private Long ownerOuId;
|
||||
|
||||
/**
|
||||
* 分组id
|
||||
|
||||
@ -11,14 +11,14 @@ public class SaasRoleGroupVO {
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 工作台类型字典id
|
||||
* 工作台类型字典code
|
||||
*/
|
||||
private Long workspaceTypeId;
|
||||
private Long workspaceTypeCode;
|
||||
|
||||
/**
|
||||
* 单位类型字典id
|
||||
* 单位类型字典code
|
||||
*/
|
||||
private List<Long> ouTypeId;
|
||||
private List<Long> ouTypeCode;
|
||||
|
||||
/**
|
||||
* 所属工作台id
|
||||
|
||||
@ -44,6 +44,11 @@ public class SaasRoleVO {
|
||||
*/
|
||||
private List<Long> featureIds;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
private Long isDelete;
|
||||
|
||||
|
||||
private Date createAt;
|
||||
|
||||
|
||||
@ -24,16 +24,16 @@ public class SaasRoleGroup extends BaseEntity<SaasRoleGroup> implements Serializ
|
||||
private static final long serialVersionUID = 972205950455439772L;
|
||||
|
||||
/**
|
||||
* 工作台类型字典id
|
||||
* 工作台类型字典code
|
||||
*/
|
||||
@TableField("workspace_type_id")
|
||||
private Long workspaceTypeId;
|
||||
@TableField("workspace_type_code")
|
||||
private Long workspaceTypeCode;
|
||||
|
||||
/**
|
||||
* 单位类型字典id
|
||||
* 单位类型字典code
|
||||
*/
|
||||
@TableField("ou_type_id")
|
||||
private Long ouTypeId;
|
||||
@TableField("ou_type_code")
|
||||
private Long ouTypeCode;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
|
||||
Loading…
Reference in New Issue
Block a user