rx
2023-09-07 6eeb783170a9c23d27ca108c52a527a56098e1e5
咨询记录修改优化
1个文件已修改
152 ■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/consultation/ConsultRecordDto.java 152 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/consultation/ConsultRecordDto.java
@@ -1,6 +1,6 @@
package com.hz.his.dto.consultation;
import com.hz.his.dto.PageDto;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.Date;
import java.util.List;
@@ -10,20 +10,23 @@
/**
 * 咨询记录dto 新版
 */
public class ConsultRecordDto extends PageDto {
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ConsultRecordDto{
    //用户id
    private String userId;
    //门店/诊所ID
    private String shopId;
    //咨询类型 0=标准(旧版) 1=初诊 2=疗程内/在消费/复诊
    //咨询类型 0=标准(旧版) 1=初诊 2=复诊 3=复查 4=疗程内 5=再消费 6=沉睡客
    private Integer consultType;
    //基本信息
    private String content;
    //满意度 0=不满意 1=一般 2=满意
    private Integer satisfie;
    //面诊医生id
    private String faceDoctorId;
    //治疗医生id
    private String treatDoctorId;
    //基本信息
    private String content;
    //主要诉求
    private String appealDetail;
    //治疗方案&报价
@@ -32,13 +35,11 @@
    private String dosageParams;
    //既往病史
    private String anamnesis;
    //特殊信息说明
    private String specialInfo;
    //来院前治疗过的项目(多个逗号拼接)
    //来院前治疗过的项目
    private String hasTreatProjects;
    //是否草稿 0=否 1=是
    private Integer isDraft;
    //创建人类型 0 是员工 1 是后台
    //创建人类型 0=员工 1=后台
    private Integer adminType;
    //创建人id
    private String adminId;
@@ -46,59 +47,94 @@
    private String adminName;
    //面诊方案
    private String facePlan;
    //满意度 0=不满意 1=一般 2=满意
    private Integer satisfie;
    //创建时间
    private Date createTime;
    //本次治疗项目 多个逗号分割
    private String treatProjectIds;
    //推荐项目 多个逗号分割
    private String recommendProjectIds;
    //治疗医生名称
    private String treatDoctorName;
    //上次治疗医生ID
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String lastTreatDoctorId;
    //上次治疗项目json字符串 ["项目ID","项目ID"]
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String lastTreatProjects;
    //修改传值
    //------------- 修改传值
    private String id;
    //详情返回值补充
    //------------- 非初诊 复诊 详情返回
    //治疗医生名称
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String treatDoctorName;
    //上次治疗医生名称
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String lastTreatDoctorName;
    //------------ 详情返回值补充
    //治疗项目
    private List<Map<String,Object>> treatProjectList;
    //推荐项目
    private List<Map<String,Object>> recommendProjectList;
    //上次治疗项目
    private List<Map<String,Object>> lastTreatProjectList;
    //-------------- 搜索条件
    //小程序搜索时 有个页面是需要传时间的
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String startTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String endTime;
    //搜索条件
    //用户名查找
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userName;
    //客户来源渠道分类
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String channelsTypeId;
    //客户来源一级渠道
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String channelId;
    //客户来源二级渠道
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String channel2Id;
    //咨询师
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String hisCorpUserId;
    //电网咨询师
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String internetCorpUserId;
    //客服
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String chatCorpUserId;
    //创建人
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createEmployeeId;
    //创建人部门
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createEmployeePartId;
    //关注活动
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String focusActivityId;
    //到访类型
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String recentVisitType;
    //到访状态
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer recentVisitStatus;
    //是否成交
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isMakeADeal;
    /**当前页数*/
    private Integer pageNum = 1;
    /**当前页显示条数*/
    private Integer pageSize = 20;
    /**关键字*/
    private String keyWord;
    public ConsultRecordDto() {
    }
@@ -183,14 +219,6 @@
        this.anamnesis = anamnesis;
    }
    public String getSpecialInfo() {
        return specialInfo;
    }
    public void setSpecialInfo(String specialInfo) {
        this.specialInfo = specialInfo;
    }
    public String getHasTreatProjects() {
        return hasTreatProjects;
    }
@@ -245,16 +273,6 @@
    public void setRecommendProjectIds(String recommendProjectIds) {
        this.recommendProjectIds = recommendProjectIds;
    }
    @Override
    public String getId() {
        return id;
    }
    @Override
    public void setId(String id) {
        this.id = id;
    }
    public List<Map<String, Object>> getTreatProjectList() {
@@ -425,4 +443,68 @@
    public void setIsMakeADeal(Integer isMakeADeal) {
        this.isMakeADeal = isMakeADeal;
    }
    public String getLastTreatDoctorId() {
        return lastTreatDoctorId;
    }
    public void setLastTreatDoctorId(String lastTreatDoctorId) {
        this.lastTreatDoctorId = lastTreatDoctorId;
    }
    public String getLastTreatProjects() {
        return lastTreatProjects;
    }
    public void setLastTreatProjects(String lastTreatProjects) {
        this.lastTreatProjects = lastTreatProjects;
    }
    public String getLastTreatDoctorName() {
        return lastTreatDoctorName;
    }
    public void setLastTreatDoctorName(String lastTreatDoctorName) {
        this.lastTreatDoctorName = lastTreatDoctorName;
    }
    public List<Map<String, Object>> getLastTreatProjectList() {
        return lastTreatProjectList;
    }
    public void setLastTreatProjectList(List<Map<String, Object>> lastTreatProjectList) {
        this.lastTreatProjectList = lastTreatProjectList;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public Integer getPageNum() {
        return pageNum;
    }
    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }
    public Integer getPageSize() {
        return pageSize;
    }
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
    public String getKeyWord() {
        return keyWord;
    }
    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }
}