【8.3.3】【role】获取角色数据权限列表,返回创建人名称

dev-8.3.3
stylefeng 2025-01-24 23:49:17 +08:00
parent 5c144b82c4
commit fe5e2286ab
1 changed files with 9 additions and 4 deletions

View File

@ -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;
//-------------------------------非实体字段-------------------------------
/**