Merge branch 'dev_20260429' into dev_WMS20260401
# Conflicts: # mhd-user-center/src/main/java/com/mhd/user/domain/userAggregate/repository/todo/UserDO.java # mhd-user-center/src/main/java/com/mhd/user/interfaces/dto/addDTO/UserDTO.java
This commit is contained in:
+3
@@ -63,6 +63,9 @@ public class ServiceNameConstants
|
||||
//OMS结算系统
|
||||
public static final String OMS_SERVICE = "mhd-oms-service";
|
||||
|
||||
//YMS系统
|
||||
public static final String YMS_SERVICE = "mhd-yms-service";
|
||||
|
||||
|
||||
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
package com.mhd.common.core.domain.dto;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author: brb
|
||||
* @description:
|
||||
* @create: 2026-05-13 10:28
|
||||
*/
|
||||
public class YmsSysDeptDTO {
|
||||
/** 部门ID */
|
||||
private Long deptId;
|
||||
|
||||
/** 父部门ID */
|
||||
private Long parentId;
|
||||
|
||||
/** 祖级列表 */
|
||||
private String ancestors;
|
||||
|
||||
/** 部门名称 */
|
||||
private String deptName;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer orderNum;
|
||||
|
||||
/** 负责人 */
|
||||
private String leader;
|
||||
|
||||
/** 联系电话 */
|
||||
private String phone;
|
||||
|
||||
/** 邮箱 */
|
||||
private String email;
|
||||
|
||||
/** 部门状态:0正常,1停用 */
|
||||
private String status;
|
||||
|
||||
/** 删除标志(0代表存在 2代表删除) */
|
||||
private String delFlag;
|
||||
|
||||
/** 父部门名称 */
|
||||
private String parentName;
|
||||
|
||||
/** 子部门 */
|
||||
private List<YmsSysDeptDTO> children = new ArrayList<YmsSysDeptDTO>();
|
||||
}
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
package com.mhd.common.core.domain.dto;
|
||||
|
||||
import com.mhd.common.core.annotation.Excel;
|
||||
import com.mhd.common.core.annotation.Excels;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author: brb
|
||||
* @description: YMS系统用户DTO
|
||||
* @create: 2026-05-13 10:27
|
||||
*/
|
||||
@Data
|
||||
public class YmsSysUserDTO {
|
||||
/** 用户ID */
|
||||
@Excel(name = "用户序号", prompt = "用户编号")
|
||||
private Long userId;
|
||||
|
||||
/** 部门ID */
|
||||
@Excel(name = "部门编号")
|
||||
private Long deptId;
|
||||
|
||||
/** 用户账号 */
|
||||
@Excel(name = "登录名称")
|
||||
private String userName;
|
||||
|
||||
/** 用户昵称 */
|
||||
@Excel(name = "用户名称")
|
||||
private String nickName;
|
||||
|
||||
/** 用户邮箱 */
|
||||
@Excel(name = "用户邮箱")
|
||||
private String email;
|
||||
|
||||
/** 手机号码 */
|
||||
@Excel(name = "手机号码")
|
||||
private String phonenumber;
|
||||
|
||||
/** 用户性别 */
|
||||
@Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
|
||||
private String sex;
|
||||
|
||||
/** 用户头像 */
|
||||
private String avatar;
|
||||
|
||||
/** 密码 */
|
||||
private String password;
|
||||
|
||||
/** 帐号状态(0正常 1停用) */
|
||||
@Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
|
||||
/** 删除标志(0代表存在 2代表删除) */
|
||||
private String delFlag;
|
||||
|
||||
/** 最后登录IP */
|
||||
@Excel(name = "最后登录IP")
|
||||
private String loginIp;
|
||||
|
||||
/** 最后登录时间 */
|
||||
@Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date loginDate;
|
||||
|
||||
/** 部门对象 */
|
||||
@Excels({
|
||||
@Excel(name = "部门名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
|
||||
@Excel(name = "部门负责人", targetAttr = "leader", type = Excel.Type.EXPORT)
|
||||
})
|
||||
private YmsSysDeptDTO dept;
|
||||
|
||||
/** 角色对象 */
|
||||
private List<YmsSysDeptDTO> roles;
|
||||
|
||||
/** 角色组 */
|
||||
private Long[] roleIds;
|
||||
|
||||
/** 岗位组 */
|
||||
private Long[] postIds;
|
||||
|
||||
/** 角色ID */
|
||||
private Long roleId;
|
||||
|
||||
/** szwl用户ID */
|
||||
private Long szwlUserId;
|
||||
|
||||
/** 一级组织表ID */
|
||||
private Long topOrganizationId;
|
||||
|
||||
/** 组织表ID */
|
||||
private Long organizationId;
|
||||
|
||||
/** 角色code集合 */
|
||||
private List<String> roleCodes;
|
||||
|
||||
/** 角色名称集合 */
|
||||
private List<String> roleNames;
|
||||
|
||||
/** 推广码 */
|
||||
private String promoCode;
|
||||
|
||||
/** 账号类型 1.普通账号,2.组织账号,3.一级账号,4.平台员工,5.企业员工,6.合作商 */
|
||||
private Integer userAccountType;
|
||||
}
|
||||
+2
@@ -104,5 +104,7 @@ public class OrganizationPo extends BaseVOEntity implements Serializable {
|
||||
|
||||
@ApiModelProperty("是否绑定 1-是,2-否")
|
||||
private Integer isBand;
|
||||
@ApiModelProperty("是否排队:0-否,1-是")
|
||||
private Integer isQueue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user