mirror of https://gitee.com/stylefeng/roses
【8.1.9】【sys】优化业务日志用户名称的返回
parent
7e7192faee
commit
0bd9ee250a
|
@ -2,6 +2,8 @@ package cn.stylefeng.roses.kernel.log.api.pojo.entity;
|
|||
|
||||
import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
|
||||
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
||||
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
|
||||
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
@ -67,6 +69,7 @@ public class SysLogBusiness extends BaseEntity {
|
|||
*/
|
||||
@TableField("user_id")
|
||||
@ChineseDescription("业务操作的用户id")
|
||||
@SimpleFieldFormat(processClass = UserNameFormatProcess.class)
|
||||
private Long userId;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue