bonus_houqin

This commit is contained in:
sxu 2025-02-15 23:29:15 +08:00
parent 00ba2e2a4a
commit fa901ec458
2 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,7 @@ public class SysUser extends BaseEntity {
* 用户ID * 用户ID
*/ */
@Excel(name = "用户序号", type = Type.EXPORT, cellType = ColumnType.NUMERIC, prompt = "用户编号") @Excel(name = "用户序号", type = Type.EXPORT, cellType = ColumnType.NUMERIC, prompt = "用户编号")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long userId; private Long userId;
/** /**

View File

@ -6,6 +6,7 @@ import java.util.stream.Collectors;
import com.bonus.system.api.domain.SysMenu; import com.bonus.system.api.domain.SysMenu;
import com.bonus.system.api.domain.SysUser; import com.bonus.system.api.domain.SysUser;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude;
import com.bonus.system.api.domain.SysDept; import com.bonus.system.api.domain.SysDept;
@ -20,9 +21,11 @@ public class TreeSelect implements Serializable {
/** /**
* 节点ID * 节点ID
*/ */
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long id; private Long id;
/** 父部门ID */ /** 父部门ID */
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long parentId; private Long parentId;
/** /**