mirror of https://gitee.com/stylefeng/roses
【8.3.3】【role】获取角色数据权限列表,返回创建人名称
parent
5c144b82c4
commit
fe5e2286ab
|
@ -7,10 +7,8 @@ import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
|
|||
import cn.stylefeng.roses.kernel.rule.enums.permission.DataScopeTypeEnum;
|
||||
import cn.stylefeng.roses.kernel.sys.api.entity.OrganizationLevel;
|
||||
import cn.stylefeng.roses.kernel.sys.api.format.OrgNameFormatProcess;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
@ -75,6 +73,13 @@ public class SysRoleDataScope extends BaseEntity {
|
|||
@SimpleFieldFormat(processClass = OrgNameFormatProcess.class)
|
||||
private Long defineOrgId;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
||||
@SimpleFieldFormat(processClass = UserNameFormatProcess.class)
|
||||
private Long createUser;
|
||||
|
||||
//-------------------------------非实体字段-------------------------------
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue