新加字段

This commit is contained in:
zhangheng 2024-06-14 18:11:13 +08:00
parent e140100bf9
commit a238be0ec0
4 changed files with 43 additions and 4 deletions

View File

@ -1,25 +1,36 @@
package com.xinelu.common.enums; package com.xinelu.common.enums;
import lombok.Getter;
/** /**
* 话术状态标识 * 话术状态标识
* *
* @author : youxilong * @author : youxilong
* @date : 2024/3/19 10:06 * @date : 2024/3/19 10:06
*/ */
@Getter
public enum ScriptStatusEnum { public enum ScriptStatusEnum {
/** /**
* 话术状态正常 * 话术状态正常
*/ */
NORMAL, NORMAL("NORMAL"),
/** /**
* 话术状态:下架 * 话术状态:下架
*/ */
OFF_SHELF, OFF_SHELF("OFF_SHELF"),
/** /**
* 话术状态:暂停 * 话术状态:暂停
*/ */
SUSPEND SUSPEND("SUSPEND"),
;
final private String info;
ScriptStatusEnum(String info) {
this.info = info;
}
} }

View File

@ -261,7 +261,7 @@ public class SpecialDiseaseNode extends BaseEntity {
private String phoneRedialTimes; private String phoneRedialTimes;
private String phoneTimeInterval; private Integer phoneTimeInterval;
/** /**
* AI电话短信模板表id * AI电话短信模板表id

View File

@ -6,6 +6,17 @@ import lombok.Data;
@Data @Data
public class PhonePush { public class PhonePush {
/**
* 管理路径节点名称出院后AFTER_DISCHARGE入院后AFTER_ADMISSION就诊后AFTER_CONSULTATION
*/
private String routeNodeName;
/**
* 管理路径节点时间时间单位为
*/
private String routeNodeDay;
private String patientName; private String patientName;
/** /**
@ -14,6 +25,9 @@ public class PhonePush {
@ApiModelProperty(value = "患者电话") @ApiModelProperty(value = "患者电话")
private String patientPhone; private String patientPhone;
/**
* 电话推送标识
*/
private Integer phonePushSign; private Integer phonePushSign;
/** /**
@ -58,6 +72,16 @@ public class PhonePush {
@ApiModelProperty(value = "电话短信提醒不发送短信NOT_SEND_MESSAGE未接通发短信NOT_CONNECTED_SEND_MESSAGE接通后发短信CONNECTED_SEND_MESSAGE所有人发短信EVERYONE_SEND_MESSAGE") @ApiModelProperty(value = "电话短信提醒不发送短信NOT_SEND_MESSAGE未接通发短信NOT_CONNECTED_SEND_MESSAGE接通后发短信CONNECTED_SEND_MESSAGE所有人发短信EVERYONE_SEND_MESSAGE")
private String phoneMessageRemind; private String phoneMessageRemind;
/**
* 默认已接通CONNECTED未接通:NOTCONNECTED
*/
private String phoneConnectStatus;
/**
* 任务处理信息执行结果记录(电话反馈
*/
private String routeHandleRemark;
/** /**
* 电话短信模板表id * 电话短信模板表id
*/ */

View File

@ -622,12 +622,16 @@
resultType="com.xinelu.manage.vo.signpatientmanageroute.PhonePush"> resultType="com.xinelu.manage.vo.signpatientmanageroute.PhonePush">
select pi.patient_name, select pi.patient_name,
pi.patient_phone, pi.patient_phone,
spmrn.route_node_name,
spmrn.route_node_day,
spmrn.phone_id, spmrn.phone_id,
spmrn.phone_template_id, spmrn.phone_template_id,
spmrn.phone_template_name, spmrn.phone_template_name,
spmrn.phone_redial_times, spmrn.phone_redial_times,
spmrn.phone_time_interval, spmrn.phone_time_interval,
spmrn.phone_message_remind, spmrn.phone_message_remind,
spmrn.phone_connect_status,
spmrn.route_handle_remark,
spmrn.phone_message_template_id, spmrn.phone_message_template_id,
spmrn.phone_message_template_name, spmrn.phone_message_template_name,
si.script_file_path si.script_file_path