修改任务表字段。

This commit is contained in:
haown 2024-08-02 18:00:10 +08:00
parent ec10885a85
commit aac8c6923e
10 changed files with 99 additions and 48 deletions

View File

@ -86,10 +86,10 @@ public class SignPatientManageRouteNode extends BaseEntity {
@Excel(name = "电话推送标识0未开启1已开启")
private Integer phonePushSign;
/** 电话话术表id */
@ApiModelProperty(value = "电话话术表id")
@Excel(name = "电话话术表id")
private Long phoneId;
/** 话术表 ID */
@ApiModelProperty(value = "话术表 ID")
@Excel(name = "话术表 ID")
private Long scriptInfoId;
/** 电话模板ID */
@ApiModelProperty(value = "电话模板ID")
@ -182,6 +182,11 @@ public class SignPatientManageRouteNode extends BaseEntity {
@Excel(name = "短信模板表id")
private Long messageTemplateId;
/** 第三方短信模板编码 */
@ApiModelProperty(value = "第三方短信模板编码")
@Excel(name = "第三方短信模板编码")
private String messageTemplateCode;
/** 短信模板名称 */
@ApiModelProperty(value = "短信模板名称")
@Excel(name = "短信模板名称")
@ -207,6 +212,11 @@ public class SignPatientManageRouteNode extends BaseEntity {
@Excel(name = "公众号模板表id")
private Long officialTemplateId;
/** 公众号官方模板编码 */
@ApiModelProperty(value = "公众号官方模板编码")
@Excel(name = "公众号官方模板编码")
private String officialTemplateCode;
/** 公众号模板名称 */
@ApiModelProperty(value = "公众号模板名称")
@Excel(name = "公众号模板名称")
@ -232,6 +242,11 @@ public class SignPatientManageRouteNode extends BaseEntity {
@Excel(name = "小程序模板表id")
private Long appletTemplateId;
/** 小程序模板编码(微信方) */
@ApiModelProperty(value = "小程序模板编码(微信方)")
@Excel(name = "小程序模板编码(微信方)")
private String appletTemplateCode;
/** 小程序模板名称 */
@ApiModelProperty(value = "小程序模板名称")
@Excel(name = "小程序模板名称")

View File

@ -696,7 +696,7 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
break;
// 话术
case TaskNodeTypeConstants.PHONE_OUTBOUND:
manageRouteNode.setPhoneId(node.getScriptInfoId());
manageRouteNode.setScriptInfoId(node.getScriptInfoId());
// 查询话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
if (ObjectUtils.isNotEmpty(scriptInfo)) {
@ -742,8 +742,8 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
// 电话外呼
case TaskNodeTypeConstants.PHONE_OUTBOUND:
// 电话外呼分为话术和问卷两种根据模板id判断选择的哪种模板
if (manageNode.getPhoneId() != null) { // 话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(manageNode.getPhoneId());
if (manageNode.getScriptInfoId() != null) { // 话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(manageNode.getScriptInfoId());
if (ObjectUtils.isNotEmpty(scriptInfo)) {
// 话术库json内容替换
manageNode.setPhoneNodeContent(signPatientManageRouteNodeService.getFlowScheme(scriptInfo.getFlowScheme(), labelFieldContentList));
@ -936,7 +936,7 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
SignPatientManageRouteNode signPatientManageRouteNode = new SignPatientManageRouteNode();
if (Objects.nonNull(routeNode) && TaskNodeTypeEnum.PHONE_OUTBOUND.getInfo().equals(routeNode.getTaskNodeType())) {
signPatientManageRouteNode.setPhonePushSign(Objects.isNull(routeNode.getPhonePushSign()) ? null : routeNode.getPhonePushSign());
signPatientManageRouteNode.setPhoneId(Objects.isNull(routeNode.getPhoneId()) ? null : routeNode.getPhoneId());
signPatientManageRouteNode.setScriptInfoId(Objects.isNull(routeNode.getScriptInfoId()) ? null : routeNode.getScriptInfoId());
signPatientManageRouteNode.setPhoneTemplateId(Objects.isNull(routeNode.getPhoneTemplateId()) ? null : routeNode.getPhoneTemplateId());
signPatientManageRouteNode.setPhoneTemplateName(StringUtils.isBlank(routeNode.getPhoneTemplateName()) ? null : routeNode.getPhoneTemplateName());
signPatientManageRouteNode.setPhoneNodeContent(StringUtils.isBlank(routeNode.getPhoneNodeContent()) ? null : routeNode.getPhoneNodeContent());

View File

@ -167,7 +167,7 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
retVo.setTemplateType(TemplateTypeConstants.PROPAGANDA);
} else if (StringUtils.isNotBlank(node.getPhoneTemplateId())) {
// 话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getPhoneId());
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
detailInfo = JSONObject.parseObject(JSONObject.toJSONString(scriptInfo));
retVo.setTemplateType(TemplateTypeConstants.SCRIPT);
} else if (node.getQuestionInfoId() != null) {
@ -310,7 +310,7 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
retVo.setTemplateType(TemplateTypeConstants.PROPAGANDA);
} else if (StringUtils.isNotBlank(node.getPhoneTemplateId())) {
// 话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getPhoneId());
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
detailInfo = JSONObject.parseObject(JSONObject.toJSONString(scriptInfo));
retVo.setTemplateType(TemplateTypeConstants.SCRIPT);
} else if (node.getQuestionInfoId() != null) {
@ -351,8 +351,8 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
JSONObject detailInfo = new JSONObject();
switch (node.getTaskNodeType()) {
case TaskNodeTypeConstants.PHONE_OUTBOUND: // 电话外呼-查询话术表
if (node.getPhoneId() != null) {
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getPhoneId());
if (node.getScriptInfoId() != null) {
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
detailInfo = JSONObject.parseObject(JSONObject.toJSONString(scriptInfo));
} else if (node.getQuestionInfoId() != null) { // 问卷
// 查询问卷详情
@ -732,11 +732,12 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
switch(manageNode.getTaskNodeType()) {
// 电话外呼--话术/问卷只替换话术
case TaskNodeTypeConstants.PHONE_OUTBOUND:
if (manageNode.getPhoneId() != null) {
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(manageNode.getPhoneId());
if (manageNode.getScriptInfoId() != null) {
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(manageNode.getScriptInfoId());
if (ObjectUtils.isNotEmpty(scriptInfo)) {
// 话术库json内容替换
manageNode.setPhoneNodeContent(getFlowScheme(scriptInfo.getFlowScheme(), labelFieldContentList));
manageNode.setPhoneTemplateId(scriptInfo.getScriptId());
}
}
// 电话短信内容
@ -751,9 +752,7 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
case TaskNodeTypeConstants.PROPAGANDA_ARTICLE:
// 文字提醒
case TaskNodeTypeConstants.TEXT_REMIND:
// 人工随访
//case TaskContentConstants.ARTIFICIAL_FOLLOW_UP:
// break;
break;
}
}
// 替换短信公众号小程序内容
@ -1127,7 +1126,7 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
break;
// 话术
case TaskNodeTypeConstants.PHONE_OUTBOUND:
manageRouteNode.setPhoneId(node.getScriptInfoId());
manageRouteNode.setScriptInfoId(node.getScriptInfoId());
// 查询话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
if (ObjectUtils.isNotEmpty(scriptInfo)) {
@ -1184,7 +1183,11 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
private void replaceTemplateInfo(SignPatientManageRouteNode manageRouteNode, SpecialDiseaseNode node, List<LabelFieldInfoContentVo> labelFieldContentList) {
if (node.getMessageTemplateId() != null) {
// 替换短信模板
manageRouteNode.setMessageNodeContent(replaceMessageInfo(node.getMessageTemplateId(), labelFieldContentList));
TextMessage textMessage = textMessageMapper.selectTextMessageById(node.getMessageTemplateId());
if (ObjectUtils.isNotEmpty(textMessage)) {
manageRouteNode.setMessageTemplateCode(textMessage.getTextMessageId());
manageRouteNode.setMessageNodeContent(replaceMessageInfo(node.getMessageTemplateId(), labelFieldContentList));
}
}
if (node.getPhoneMessageTemplateId() != null) {
// 替换短信模板
@ -1192,11 +1195,19 @@ public class SignPatientManageRouteNodeServiceImpl implements ISignPatientManage
}
// 替换公众号模板
if (node.getOfficialPushSign() != null && node.getOfficialPushSign() == 1) {
manageRouteNode.setOfficialNodeContent(replaceWeChatTemplate(node.getOfficialTemplateId(), labelFieldContentList));
WechatTemplate wechatTemplate = wechatTemplateMapper.selectWechatTemplateById(node.getOfficialTemplateId());
if (ObjectUtils.isNotEmpty(wechatTemplate)) {
manageRouteNode.setOfficialTemplateCode(wechatTemplate.getTemplateId());
manageRouteNode.setOfficialNodeContent(replaceWeChatTemplate(node.getOfficialTemplateId(), labelFieldContentList));
}
}
// 替换小程序模板
if (node.getAppletPushSign() != null && node.getAppletPushSign() == 1) {
manageRouteNode.setAppletNodeContent(replaceWeChatTemplate(node.getAppletTemplateId(), labelFieldContentList));
WechatTemplate wechatTemplate = wechatTemplateMapper.selectWechatTemplateById(node.getOfficialTemplateId());
if (ObjectUtils.isNotEmpty(wechatTemplate)) {
manageRouteNode.setAppletTemplateCode(wechatTemplate.getTemplateId());
manageRouteNode.setAppletNodeContent(replaceWeChatTemplate(node.getAppletTemplateId(), labelFieldContentList));
}
}
}

View File

@ -342,7 +342,7 @@ public class SpecialDiseaseRouteServiceImpl implements ISpecialDiseaseRouteServi
break;
// 话术
case TaskNodeTypeConstants.PHONE_OUTBOUND:
manageRouteNode.setPhoneId(node.getScriptInfoId());
manageRouteNode.setScriptInfoId(node.getScriptInfoId());
// 查询话术
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
if (ObjectUtils.isNotEmpty(scriptInfo)) {

View File

@ -137,7 +137,7 @@ public class ManualFollowUpVO {
private Long followTemplateId;
@ApiModelProperty(value = "电话话术表id")
private Long phoneId;
private Long scriptInfoId;
@ApiModelProperty(value = "任务节点类型电话外呼PHONE_OUTBOUND问卷量表QUESTIONNAIRE_SCALE宣教文章PROPAGANDA_ARTICLE文字提醒TEXT_REMIND")
private String taskNodeType;

View File

@ -31,7 +31,7 @@ public class PhonePush {
private Integer phonePushSign;
@ApiModelProperty(value = "电话话术表id")
private Long phoneId;
private Long scriptInfoId;
@ApiModelProperty(value = "电话模板ID")
private String phoneTemplateId;

View File

@ -73,7 +73,7 @@ public class SignPatientManageRouteNodeInfoVo {
/** 电话话术表id */
@ApiModelProperty(value = "电话话术表id")
@Excel(name = "电话话术表id")
private Long phoneId;
private Long scriptInfoId;
/** 电话模板ID */
@ApiModelProperty(value = "电话模板ID")

View File

@ -88,7 +88,7 @@ public class SignPatientTaskVo {
/** 电话话术表id */
@ApiModelProperty(value = "电话话术表id")
@Excel(name = "电话话术表id")
private Long phoneId;
private Long scriptInfoId;
/** 电话模板ID */
@ApiModelProperty(value = "电话模板ID")

View File

@ -69,7 +69,7 @@
<result property="secondClassifyDescribe" column="second_classify_describe"/>
<result property="executeTime" column="execute_time"/>
<result property="phonePushSign" column="phone_push_sign"/>
<result property="phoneId" column="phone_id"/>
<result property="scriptInfoId" column="script_info_id"/>
<result property="phoneTemplateId" column="phone_template_id"/>
<result property="phoneTemplateName" column="phone_template_name"/>
<result property="phoneNodeContent" column="phone_node_content"/>
@ -229,7 +229,7 @@
spmrn.second_classify_describe,
spmrn.execute_time,
spmrn.phone_push_sign,
spmrn.phone_id,
spmrn.script_info_id,
spmrn.phone_template_id,
spmrn.phone_template_name,
spmrn.phone_node_content,
@ -330,10 +330,10 @@
WHEN spmrn.task_node_type = 'QUESTIONNAIRE_SCALE' THEN spmrn.questionnaire_name
END AS 'templateName',
CASE
WHEN spmrn.task_node_type = 'PHONE_OUTBOUND' THEN spmrn.phone_id
WHEN spmrn.task_node_type = 'PHONE_OUTBOUND' THEN spmrn.script_info_id
WHEN spmrn.task_node_type = 'QUESTIONNAIRE_SCALE' THEN spmrn.question_info_id
END AS 'templateId',
spmrn.phone_id,
spmrn.script_info_id,
spmrn.follow_template_id,
spmrn.node_execute_status,
spmrn.route_handle_remark
@ -615,7 +615,7 @@
spmrn.route_node_name,
spmrn.phone_push_sign,
spmrn.route_node_day,
spmrn.phone_id,
spmrn.script_info_id,
spmrn.phone_template_id,
spmrn.phone_template_name,
spmrn.phone_node_content,

View File

@ -18,7 +18,7 @@
<result property="secondClassifyDescribe" column="second_classify_describe"/>
<result property="executeTime" column="execute_time"/>
<result property="phonePushSign" column="phone_push_sign"/>
<result property="phoneId" column="phone_id"/>
<result property="scriptInfoId" column="script_info_id"/>
<result property="phoneTemplateId" column="phone_template_id"/>
<result property="phoneTemplateName" column="phone_template_name"/>
<result property="phoneNodeContent" column="phone_node_content"/>
@ -37,16 +37,19 @@
<result property="propagandaContent" column="propaganda_content"/>
<result property="messagePushSign" column="message_push_sign"/>
<result property="messageTemplateId" column="message_template_id"/>
<result property="messageTemplateCode" column="message_template_code"/>
<result property="messageTemplateName" column="message_template_name"/>
<result property="messagePreview" column="message_preview"/>
<result property="messageNodeContent" column="message_node_content"/>
<result property="officialPushSign" column="official_push_sign"/>
<result property="officialTemplateId" column="official_template_id"/>
<result property="officialTemplateCode" column="official_template_code"/>
<result property="officialTemplateName" column="official_template_name"/>
<result property="officialRemindContent" column="official_remind_content"/>
<result property="officialNodeContent" column="official_node_content"/>
<result property="appletPushSign" column="applet_push_sign"/>
<result property="appletTemplateId" column="applet_template_id"/>
<result property="appletTemplateCode" column="applet_template_code"/>
<result property="appletTemplateName" column="applet_template_name"/>
<result property="appletRemindContent" column="applet_remind_content"/>
<result property="appletPromptDescription" column="applet_prompt_description"/>
@ -80,7 +83,7 @@
</resultMap>
<sql id="selectSignPatientManageRouteNodeVo">
select id, manage_route_id, manage_route_name, route_node_id, route_node_name, route_node_day, task_type, task_status, task_subdivision, task_node_type, second_classify_describe, execute_time, phone_push_sign, phone_id, phone_template_id, phone_template_name, phone_node_content, phone_redial_times, phone_time_interval, phone_message_remind, phone_message_template_id, phone_message_template_name,phone_message_template_content,question_info_id, questionnaire_name, questionnaire_content, question_expiration_date, propaganda_info_id, propaganda_title, propaganda_content, message_push_sign, message_template_id, message_template_name, message_preview, message_node_content, official_push_sign, official_template_id, official_template_name, official_remind_content, official_node_content, follow_template_id, follow_template_name, applet_push_sign, applet_template_id, applet_template_name, applet_remind_content, applet_prompt_description, applet_node_content, route_check_status, route_check_person, route_check_date, route_check_remark, route_node_remark, node_execute_status, route_handle_remark, route_handle_id, route_handle_person, route_link,text_remind_content, node_content,message_status, del_flag, create_by, create_time, update_by, update_time, phone_dial_method, phone_node_execute_result_status, message_node_execute_result_status, official_node_execute_result_status, applet_node_execute_result_status, node_finish_date from sign_patient_manage_route_node
select id, manage_route_id, manage_route_name, route_node_id, route_node_name, route_node_day, task_type, task_status, task_subdivision, task_node_type, second_classify_describe, execute_time, phone_push_sign, script_info_id, phone_template_id, phone_template_name, phone_node_content, phone_redial_times, phone_time_interval, phone_message_remind, phone_message_template_id, phone_message_template_name,phone_message_template_content,question_info_id, questionnaire_name, questionnaire_content, question_expiration_date, propaganda_info_id, propaganda_title, propaganda_content, message_push_sign, message_template_id, message_template_code, message_template_name, message_preview, message_node_content, official_push_sign, official_template_id, official_template_code, official_template_name, official_remind_content, official_node_content, follow_template_id, follow_template_name, applet_push_sign, applet_template_id, applet_template_code, applet_template_name, applet_remind_content, applet_prompt_description, applet_node_content, route_check_status, route_check_person, route_check_date, route_check_remark, route_node_remark, node_execute_status, route_handle_remark, route_handle_id, route_handle_person, route_link,text_remind_content, node_content,message_status, del_flag, create_by, create_time, update_by, update_time, phone_dial_method, phone_node_execute_result_status, message_node_execute_result_status, official_node_execute_result_status, applet_node_execute_result_status, node_finish_date from sign_patient_manage_route_node
</sql>
<select id="selectSignPatientManageRouteNodeList" parameterType="com.xinelu.manage.dto.signpatientmanageroutenode.SignPatientManageRouteNodeDto" resultMap="SignPatientManageRouteNodeResult">
@ -156,14 +159,14 @@
<select id="getNodeList" parameterType="com.xinelu.manage.dto.signpatientmanageroutenode.PatientTaskDto"
resultMap="SignPatientManageRouteNodeResult">
select node.id, node.manage_route_id, node.manage_route_name, node.route_node_id, node.route_node_name, node.route_node_day, node.task_type,
node.task_status, node.task_subdivision,node.second_classify_describe, node.execute_time, node.phone_push_sign, node.phone_id,
node.task_status, node.task_subdivision,node.second_classify_describe, node.execute_time, node.phone_push_sign, node.script_info_id,
node.phone_template_id, node.phone_template_name, node.phone_node_content, node.phone_redial_times, node.phone_time_interval,
node.phone_message_remind, node.phone_message_template_id, node.phone_message_template_name,node.phone_message_template_content,
node.question_info_id, node.questionnaire_name, node.questionnaire_content, node.question_expiration_date,
node.propaganda_info_id, node.propaganda_title, node.propaganda_content,node.follow_template_id, node.follow_template_name,
node.message_push_sign, node.message_template_id, node.message_template_name,node.message_preview, node.message_node_content,
node.official_push_sign, node.official_template_id, node.official_template_name, node.official_remind_content, node.official_node_content,
node.applet_push_sign, node.applet_template_id, node.applet_template_name, node.applet_remind_content, node.applet_prompt_description, node.applet_node_content,
node.message_push_sign, node.message_template_id, node.message_template_code, node.message_template_name,node.message_preview, node.message_node_content,
node.official_push_sign, node.official_template_id, node.official_template_code, node.official_template_name, node.official_remind_content, node.official_node_content,
node.applet_push_sign, node.applet_template_id, node.applet_template_code, node.applet_template_name, node.applet_remind_content, node.applet_prompt_description, node.applet_node_content,
node.route_check_status, node.route_check_person, node.route_check_date, node.route_check_remark, node.route_node_remark,
node.node_execute_status, node.route_handle_remark, node.route_handle_id, node.route_handle_person, node.route_link,node.text_remind_content,node.node_content,node.phone_dial_method,node.task_node_type
from sign_patient_manage_route_node node
@ -231,7 +234,7 @@
</if>
<if test="phonePushSign != null">phone_push_sign,
</if>
<if test="phoneId != null">phone_id,
<if test="scriptInfoId != null">script_info_id,
</if>
<if test="phoneTemplateId != null">phone_template_id,
</if>
@ -269,6 +272,8 @@
</if>
<if test="messageTemplateId != null">message_template_id,
</if>
<if test="messageTemplateCode != null">message_template_code,
</if>
<if test="messageTemplateName != null">message_template_name,
</if>
<if test="messagePreview != null">message_preview,
@ -279,6 +284,8 @@
</if>
<if test="officialTemplateId != null">official_template_id,
</if>
<if test="officialTemplateCode != null">official_template_code,
</if>
<if test="officialTemplateName != null">official_template_name,
</if>
<if test="officialRemindContent != null">official_remind_content,
@ -289,6 +296,8 @@
</if>
<if test="appletTemplateId != null">applet_template_id,
</if>
<if test="appletTemplateCode != null">applet_template_code,
</if>
<if test="appletTemplateName != null">applet_template_name,
</if>
<if test="appletRemindContent != null">applet_remind_content,
@ -365,7 +374,7 @@
</if>
<if test="phonePushSign != null">#{phonePushSign},
</if>
<if test="phoneId != null">#{phoneId},
<if test="scriptInfoId != null">#{scriptInfoId},
</if>
<if test="phoneTemplateId != null">#{phoneTemplateId},
</if>
@ -403,6 +412,8 @@
</if>
<if test="messageTemplateId != null">#{messageTemplateId},
</if>
<if test="messageTemplateCode != null">#{messageTemplateCode},
</if>
<if test="messageTemplateName != null">#{messageTemplateName},
</if>
<if test="messagePreview != null">#{messagePreview},
@ -413,6 +424,8 @@
</if>
<if test="officialTemplateId != null">#{officialTemplateId},
</if>
<if test="officialTemplateCode != null">#{officialTemplateCode},
</if>
<if test="officialTemplateName != null">#{officialTemplateName},
</if>
<if test="officialRemindContent != null">#{officialRemindContent},
@ -423,6 +436,8 @@
</if>
<if test="appletTemplateId != null">#{appletTemplateId},
</if>
<if test="appletTemplateCode != null">#{appletTemplateCode},
</if>
<if test="appletTemplateName != null">#{appletTemplateName},
</if>
<if test="appletRemindContent != null">#{appletRemindContent},
@ -477,20 +492,21 @@
</insert>
<insert id="insertBatch">
insert into sign_patient_manage_route_node(manage_route_id, manage_route_name, route_node_id, route_node_name, route_node_day, task_type, task_status, task_subdivision, task_node_type, second_classify_describe,
execute_time, phone_push_sign, phone_id, phone_template_id, phone_template_name, phone_node_content, phone_redial_times, phone_time_interval, phone_message_remind, phone_message_template_id,
execute_time, phone_push_sign, script_info_id, phone_template_id, phone_template_name, phone_node_content, phone_redial_times, phone_time_interval, phone_message_remind, phone_message_template_id,
phone_message_template_name, phone_message_template_content,question_info_id, questionnaire_name, questionnaire_content, question_expiration_date, propaganda_info_id, propaganda_title, propaganda_content, message_push_sign,
message_template_id, message_template_name, message_preview, message_node_content, official_push_sign, official_template_id, official_template_name, official_remind_content,
official_node_content, applet_push_sign, applet_template_id, applet_template_name, applet_remind_content, applet_prompt_description, applet_node_content,
message_template_id, message_template_code, message_template_name, message_preview, message_node_content, official_push_sign, official_template_id, official_template_code,official_template_name, official_remind_content,
official_node_content, applet_push_sign, applet_template_id, applet_template_code, applet_template_name, applet_remind_content, applet_prompt_description, applet_node_content,
route_check_status, route_check_person, route_check_date, route_check_remark, route_node_remark, node_execute_status, route_handle_remark,phone_connect_status,
route_handle_id, route_handle_person, route_link, text_remind_content,node_content, del_flag, create_by, create_time, update_by, update_time,phone_dial_method,follow_template_id, follow_template_name)
values
<foreach collection="nodeList" item="item" separator=",">
(#{item.manageRouteId},#{item.manageRouteName},#{item.routeNodeId},#{item.routeNodeName},#{item.routeNodeDay},#{item.taskType},#{item.taskStatus},#{item.taskSubdivision},#{item.taskNodeType},#{item.secondClassifyDescribe},
#{item.executeTime},#{item.phonePushSign},#{item.phoneId},#{item.phoneTemplateId},#{item.phoneTemplateName},#{item.phoneNodeContent},#{item.phoneRedialTimes},#{item.phoneTimeInterval},#{item.phoneMessageRemind},#{item.phoneMessageTemplateId},
#{item.executeTime},#{item.phonePushSign},#{item.scriptInfoId},#{item.phoneTemplateId},#{item.phoneTemplateName},#{item.phoneNodeContent},#{item.phoneRedialTimes},#{item.phoneTimeInterval},#{item.phoneMessageRemind},#{item.phoneMessageTemplateId},
#{item.phoneMessageTemplateName},#{item.phoneMessageTemplateContent},
#{item.questionInfoId},#{item.questionnaireName},#{item.questionnaireContent},#{item.questionExpirationDate},#{item.propagandaInfoId},#{item.propagandaTitle},#{item.propagandaContent},#{item.messagePushSign},#{item.messageTemplateId},
#{item.messageTemplateName},#{item.messagePreview},#{item.messageNodeContent},#{item.officialPushSign},#{item.officialTemplateId},#{item.officialTemplateName},#{item.officialRemindContent},#{item.officialNodeContent},
#{item.appletPushSign},#{item.appletTemplateId},#{item.appletTemplateName},#{item.appletRemindContent},#{item.appletPromptDescription},#{item.appletNodeContent},
#{item.questionInfoId},#{item.questionnaireName},#{item.questionnaireContent},#{item.questionExpirationDate},#{item.propagandaInfoId},#{item.propagandaTitle},#{item.propagandaContent},#{item.messagePushSign},
#{item.messageTemplateId}, #{item.messageTemplateCode},
#{item.messageTemplateName},#{item.messagePreview},#{item.messageNodeContent},#{item.officialPushSign},#{item.officialTemplateId},#{item.officialTemplateCode},#{item.officialTemplateName},#{item.officialRemindContent},#{item.officialNodeContent},
#{item.appletPushSign},#{item.appletTemplateId},#{item.appletTemplateCode},#{item.appletTemplateName},#{item.appletRemindContent},#{item.appletPromptDescription},#{item.appletNodeContent},
#{item.routeCheckStatus},#{item.routeCheckPerson},#{item.routeCheckDate},#{item.routeCheckRemark},#{item.routeNodeRemark},#{item.nodeExecuteStatus},#{item.routeHandleRemark},#{item.phoneConnectStatus},
#{item.routeHandleId},#{item.routeHandlePerson},#{item.routeLink},#{item.textRemindContent},#{item.nodeContent},0,#{item.createBy},#{item.createTime},#{item.updateBy},#{item.updateTime},#{item.phoneDialMethod},#{item.followTemplateId},#{item.followTemplateName})
</foreach>
@ -534,8 +550,8 @@
<if test="phonePushSign != null">phone_push_sign =
#{phonePushSign},
</if>
<if test="phoneId != null">phone_id =
#{phoneId},
<if test="scriptInfoId != null">script_info_id =
#{scriptInfoId},
</if>
<if test="phoneTemplateId != null">phone_template_id =
#{phoneTemplateId},
@ -591,6 +607,9 @@
<if test="messageTemplateId != null">message_template_id =
#{messageTemplateId},
</if>
<if test="messageTemplateCode != null">message_template_code =
#{messageTemplateCode},
</if>
<if test="messageTemplateName != null">message_template_name =
#{messageTemplateName},
</if>
@ -606,6 +625,9 @@
<if test="officialTemplateId != null">official_template_id =
#{officialTemplateId},
</if>
<if test="officialTemplateCode != null">official_template_code =
#{officialTemplateCode},
</if>
<if test="officialTemplateName != null">official_template_name =
#{officialTemplateName},
</if>
@ -621,6 +643,9 @@
<if test="appletTemplateId != null">applet_template_id =
#{appletTemplateId},
</if>
<if test="appletTemplateCode != null">applet_template_code =
#{appletTemplateCode},
</if>
<if test="appletTemplateName != null">applet_template_name =
#{appletTemplateName},
</if>