From 9ca4e297022ff9d9b87328826df6b20d25069b62 Mon Sep 17 00:00:00 2001 From: zhangheng <3226558941@qq.com> Date: Mon, 11 Mar 2024 17:03:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=A1=A8=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xinelu/common/core/domain/entity/SysUser.java | 13 +++++++++++++ .../main/resources/mapper/system/SysUserMapper.xml | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/postdischarge-common/src/main/java/com/xinelu/common/core/domain/entity/SysUser.java b/postdischarge-common/src/main/java/com/xinelu/common/core/domain/entity/SysUser.java index 9b87ffea..87d8a7d1 100644 --- a/postdischarge-common/src/main/java/com/xinelu/common/core/domain/entity/SysUser.java +++ b/postdischarge-common/src/main/java/com/xinelu/common/core/domain/entity/SysUser.java @@ -149,6 +149,11 @@ public class SysUser extends BaseEntity { */ private Long departmentId; + /** + * 岗位名称,医生:DOCTOR,健康管理师:HEALTH_MANAGE_MASTER + */ + private String postName; + public SysUser() { } @@ -349,6 +354,14 @@ public class SysUser extends BaseEntity { this.userBirthDate = userBirthDate; } + public String getPostName() { + return postName; + } + + public void setPostName(String postName) { + this.postName = postName; + } + @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) diff --git a/postdischarge-system/src/main/resources/mapper/system/SysUserMapper.xml b/postdischarge-system/src/main/resources/mapper/system/SysUserMapper.xml index da099230..f17af4d5 100644 --- a/postdischarge-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/postdischarge-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -27,6 +27,7 @@ + @@ -71,6 +72,7 @@ u.user_birth_date, u.agency_id, u.department_id, + u.post_name, d.dept_id, d.parent_id, d.ancestors, @@ -93,7 +95,7 @@