【8.1.9】【sys】优化业务日志用户名称的返回

dev-8.1.9
stylefeng 2024-07-09 15:55:07 +08:00
parent 7e7192faee
commit 0bd9ee250a
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}