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