phis-feign/src/main/java/com/hz/his/dto/user/UserBaseInfoDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/UserParamDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/other/OtherUserInformationDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/pretriage/UserPretriageInfoDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/pretriage/UserPretriageLabelDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/pretriage/UserPretriageProjectDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/user/UserBaseInfoDto.java
New file @@ -0,0 +1,115 @@ package com.hz.his.dto.user; import com.hz.his.dto.user.other.OtherUserInformationDto; import com.hz.his.dto.user.pretriage.UserPretriageInfoDto; import lombok.Data; /** * 用户建档时信息dto * author:andru * Date:2021/12/8 16:03 */ @Data public class UserBaseInfoDto { /** 用户id */ private String userId; /** 创建人 */ private String createPersonId; //建档所需参数 //基础信息------------ /** 姓名 */ private String name; /** 证件类型 */ private Integer certificateType; /** 证件编号 */ private String certificateNo; /** 性别 */ private Integer gender = SEX_WUMAN; /** 主电话号码 */ private String tel; /** 客户类型 */ private String userType; /** 所属门店id */ private String shopId; /** 渠道来源类型 */ private String channelCategory= CATEGORY_ONESELF; /** 来源id */ private String channelId; /** 来源 */ private String channelType; /** 二级来源id */ private String channel2Id; /** 二级来源 */ private String channelType2; /** 邀请人id 用户,员工 */ private String inviteeId; /** 所属顾问(销售顾问) */ private String hisCorpUserId; /** 电网咨询顾问(所属TMK) */ private String internetCorpUserId; /** 主诊医生 */ private String doctorCorpUserId; // 客服专员 private String chatCorpUserId; //上传图片 /** 图片 */ private String imgUrl; //其他信息 /** 生日yyyy-MM-dd" */ private String birthDay; //国家 private String country; //地址类型(单位、公司、个人) private Integer addressType; //省份 private String province; //市 private String city; //区 private String area; //详细地址 private String address; /** 用户地址 json */ private String addressJson; // 备注 private String remark; //预分诊卡对象 private UserPretriageInfoDto userPretriageInfoDto; //登记操作------------------------------------- //补档-员工标识 private String employeeId; //登记对象 private OtherUserInformationDto otherUserInformation; //-------------------------------------------------- public UserBaseInfoDto() { } /**性别-未知*/ public static final Integer SEX_UNKNOWN = 0; /**性别-男*/ public static final Integer SEX_MAN = 1; /**性别-女*/ public static final Integer SEX_WUMAN = 2; /**渠道类别-渠道*/ public static final String CATEGORY_CHANNEL = "channel"; /**渠道类别-会员*/ public static final String CATEGORY_MEMBERS = "members"; /**渠道类别-员工*/ public static final String CATEGORY_EMPLOYEE = "employee"; /**渠道类别-自己来*/ public static final String CATEGORY_ONESELF = "oneself"; } phis-feign/src/main/java/com/hz/his/dto/user/UserParamDto.java
@@ -1,10 +1,8 @@ package com.hz.his.dto.user; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import lombok.ToString; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; @@ -14,36 +12,16 @@ */ @Data @ToString public class UserParamDto { public class UserParamDto extends UserBaseInfoDto { /** 来源信息 */ private UserUnionDto userUnion; /** 用户id */ private String userId; /** 姓名 */ private String name; /** 主电话号码 */ private String tel; /** 图片 */ private String imgUrl; /** 会员等级 */ private String userLevel; /** 星级,100为1星,150为1.5星 */ private Integer starLevel; /** 用户类型 */ private String userType; /** 渠道来源类型 */ private String channelCategory= CATEGORY_ONESELF; /** 来源id */ private String channelId; /** 来源 */ private String channelType; /** 二级来源id */ private String channel2Id; /** 二级来源 */ private String channelType2; /** 副渠道标识 */ private String channelAssistId; @@ -56,14 +34,10 @@ /** QQ */ private String QQ; /** 性别 */ private Integer gender = SEX_WUMAN; /** CIQ */ private String CIQ; /** 会员号 */ private String memberNO; /** 备注 */ private String remark; /** 消费金额 */ private String money; @@ -72,43 +46,26 @@ /** 上一次预约的顾问 */ private String lastCorpUserId; /** 证件类型 */ private Integer certificateType; /** 证件编号 */ private String certificateNo; /** 生日yyyy-MM-dd" */ private String birthDay; /** 工作人员Id */ private String corpUserId; /** 接口id */ private String apiId; /** 所属顾问(销售顾问) */ private String hisCorpUserId; /** 客户开发人员工id */ private String customerDeveloperId; /** 所属门店id */ private String shopId; /** 用户角色 */ private Integer userRole; /** 拼音码*/ private String pinyinCode; /** 电网咨询顾问 */ private String internetCorpUserId; /** 所属美容师*/ private String beauticianCorpUserId; /** 客服专员 */ private String chatCorpUserId; /** 咨询助理 */ private String consultCorpUserId; /** 共享客户 */ private Integer shareCustomer = 0; /** 所属护士 */ private String nurseCorpUserId; /** 所属医生 */ private String doctorCorpUserId; /** 咨询师隶属 */ private String consultBelonging; @@ -148,8 +105,6 @@ private String userInterestsJson; /** 科室关系json */ private String departmentJson; /** 用户地址 json */ private String addressJson; /** 次要电话簿 json */ private String phoneBooksJson; @@ -169,8 +124,6 @@ /** 更新时间 */ private Date updateTime; /** 邀请人id 用户,员工 */ private String inviteeId; /** 性别0未知1男2女 */ private Integer sex; /** 会员名称 */ phis-feign/src/main/java/com/hz/his/dto/user/other/OtherUserInformationDto.java
New file @@ -0,0 +1,60 @@ package com.hz.his.dto.user.other; import lombok.Data; import java.util.Date; /** * 会员登记-补档dto * @USER: fhx * @DATE: 2023/8/1 **/ @Data public class OtherUserInformationDto { /** Id */ private String id; /** 用户Id */ private String userId; /** 登记人员工 */ private String operateName; /** 更新时间 */ private Date updateTime=new Date(); /** 用户标签,多个用逗号隔开 */ private String userTag; /** 用户车牌信息 */ private String licensePlate; /** 饮食习惯 */ private String eatingHabits; /** 补档备注 */ private String remark; /** 地址 */ private String address; /** 省 */ private String province; /** 市 */ private String city; /** 区 */ private String area; /** 用户hisId */ private String hisId; //未知作用字段 /** 所属门店 */ private String shopId; /** 所属客服 */ private String chatCorpUserId; /** 电网咨询顾问(TMK) */ private String internetCorpUserId; /** 图片路径 */ private String imageUrl; /** 用户所属医生ID */ private String doctorCorpUserId; /** 用户所属医生名称 */ private String doctorCorpUserName; public OtherUserInformationDto() { } } phis-feign/src/main/java/com/hz/his/dto/user/pretriage/UserPretriageInfoDto.java
New file @@ -0,0 +1,219 @@ package com.hz.his.dto.user.pretriage; import java.util.List; /** * 用户预分诊卡信息 */ public class UserPretriageInfoDto { //id private String id; //用户ID private String userId; //咨询门店ID private String shopId; //咨询门店名称 private String shopName; //医生ID private String doctorId; //医生名称 private String doctorName; //线上订单 private String onlineOrderDec; //咨询详情 private String consultDetail; //治疗史 private String treatHistory; //治疗推荐内容 private String treatRecommendDec; //特殊情况 private String specialDec; //创建人id private String createUserId; //创建人名称 private String createName; //医生名称 private String keyWord; //项目list private List<UserPretriageProjectDto> pretriageProjectList; //标签list private List<UserPretriageLabelDto>pretriageLabelList; //预约单ID private String appointmentId; //顾问ID private String corpUserId; //查询治疗推荐方案 private List<String> projectIds; private List<String> labelIds; public UserPretriageInfoDto() { } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getShopId() { return shopId; } public void setShopId(String shopId) { this.shopId = shopId; } public String getShopName() { return shopName; } public void setShopName(String shopName) { this.shopName = shopName; } public String getDoctorId() { return doctorId; } public void setDoctorId(String doctorId) { this.doctorId = doctorId; } public String getDoctorName() { return doctorName; } public void setDoctorName(String doctorName) { this.doctorName = doctorName; } public String getOnlineOrderDec() { return onlineOrderDec; } public void setOnlineOrderDec(String onlineOrderDec) { this.onlineOrderDec = onlineOrderDec; } public String getConsultDetail() { return consultDetail; } public void setConsultDetail(String consultDetail) { this.consultDetail = consultDetail; } public String getTreatHistory() { return treatHistory; } public void setTreatHistory(String treatHistory) { this.treatHistory = treatHistory; } public String getTreatRecommendDec() { return treatRecommendDec; } public void setTreatRecommendDec(String treatRecommendDec) { this.treatRecommendDec = treatRecommendDec; } public String getSpecialDec() { return specialDec; } public void setSpecialDec(String specialDec) { this.specialDec = specialDec; } public String getCreateUserId() { return createUserId; } public void setCreateUserId(String createUserId) { this.createUserId = createUserId; } public String getCreateName() { return createName; } public void setCreateName(String createName) { this.createName = createName; } public String getKeyWord() { return keyWord; } public void setKeyWord(String keyWord) { this.keyWord = keyWord; } public List<UserPretriageProjectDto> getPretriageProjectList() { return pretriageProjectList; } public void setPretriageProjectList(List<UserPretriageProjectDto> pretriageProjectList) { this.pretriageProjectList = pretriageProjectList; } public List<UserPretriageLabelDto> getPretriageLabelList() { return pretriageLabelList; } public void setPretriageLabelList(List<UserPretriageLabelDto> pretriageLabelList) { this.pretriageLabelList = pretriageLabelList; } public String getAppointmentId() { return appointmentId; } public void setAppointmentId(String appointmentId) { this.appointmentId = appointmentId; } public String getCorpUserId() { return corpUserId; } public void setCorpUserId(String corpUserId) { this.corpUserId = corpUserId; } public List<String> getProjectIds() { return projectIds; } public void setProjectIds(List<String> projectIds) { this.projectIds = projectIds; } public List<String> getLabelIds() { return labelIds; } public void setLabelIds(List<String> labelIds) { this.labelIds = labelIds; } } phis-feign/src/main/java/com/hz/his/dto/user/pretriage/UserPretriageLabelDto.java
New file @@ -0,0 +1,27 @@ package com.hz.his.dto.user.pretriage; import lombok.Data; /** * 用户预分诊卡标签 */ @Data public class UserPretriageLabelDto { /** 用户预分诊卡信息Id */ private String userPretriageCardId; /** 分类标签ID(BaseClassify主键ID) */ private String labelId; /** 分类标签父类ID(BaseClassify-parentId) */ private String labelParentId; public UserPretriageLabelDto() { } public UserPretriageLabelDto(String userPretriageCardId, String labelId, String labelParentId) { this.userPretriageCardId = userPretriageCardId; this.labelId = labelId; this.labelParentId = labelParentId; } } phis-feign/src/main/java/com/hz/his/dto/user/pretriage/UserPretriageProjectDto.java
New file @@ -0,0 +1,47 @@ package com.hz.his.dto.user.pretriage; import lombok.Data; /** * 用户预分诊卡信息关联项目 */ @Data public class UserPretriageProjectDto { /** 用户预分诊卡信息Id */ private String userPretriageCardId; /** 项目Id */ private String projectId; /** spuName */ private String spuName; //---非表字段 private String name; public UserPretriageProjectDto() { } public UserPretriageProjectDto(String userPretriageCardId, String projectId, String spuName) { this.userPretriageCardId = userPretriageCardId; this.projectId = projectId; this.spuName = spuName; } public String getUserPretriageCardId() { return userPretriageCardId; } public void setUserPretriageCardId(String userPretriageCardId) { this.userPretriageCardId = userPretriageCardId; } public String getProjectId() { return projectId; } public void setProjectId(String projectId) { this.projectId = projectId; } }