任务节点类型
This commit is contained in:
parent
8df7cee16e
commit
8c3cc4a796
@ -342,4 +342,11 @@ public class SignPatientManageRouteNode extends BaseEntity {
|
||||
@ApiModelProperty(value = "人工随访模板名称")
|
||||
@Excel(name = "人工随访模板名称")
|
||||
private String followTemplateName;
|
||||
|
||||
/**
|
||||
* 任务节点类型:PHONE_OUTBOUND:电话外呼(默认自动。人工或自动);QUESTIONNAIRE_SCALE:问卷量表(消息推送或人工随访);PROPAGANDA_ARTICLE:宣教文章;TEXT_REMIND:文字提醒(微信、短信、公众号)
|
||||
*/
|
||||
@ApiModelProperty(value = "任务节点类型")
|
||||
@Excel(name = "任务节点类型")
|
||||
private String taskNodeType;
|
||||
}
|
||||
|
||||
@ -334,6 +334,13 @@ public class SpecialDiseaseNode extends BaseEntity {
|
||||
@Excel(name = "节点内容")
|
||||
private String nodeContent;
|
||||
|
||||
/**
|
||||
* 任务节点类型:PHONE_OUTBOUND:电话外呼(默认自动。人工或自动);QUESTIONNAIRE_SCALE:问卷量表(消息推送或人工随访);PROPAGANDA_ARTICLE:宣教文章;TEXT_REMIND:文字提醒(微信、短信、公众号)
|
||||
*/
|
||||
@ApiModelProperty(value = "任务节点类型")
|
||||
@Excel(name = "任务节点类型")
|
||||
private String taskNodeType;
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
<result property="taskType" column="task_type"/>
|
||||
<result property="taskStatus" column="task_status"/>
|
||||
<result property="taskSubdivision" column="task_subdivision"/>
|
||||
<result property="taskNodeType" column="task_node_type"/>
|
||||
<result property="secondClassifyDescribe" column="second_classify_describe"/>
|
||||
<result property="executeTime" column="execute_time"/>
|
||||
<result property="phonePushSign" column="phone_push_sign"/>
|
||||
@ -74,7 +75,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, 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 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, 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 from sign_patient_manage_route_node
|
||||
</sql>
|
||||
|
||||
<select id="selectSignPatientManageRouteNodeList" parameterType="com.xinelu.manage.dto.signpatientmanageroutenode.SignPatientManageRouteNodeDto" resultMap="SignPatientManageRouteNodeResult">
|
||||
@ -101,6 +102,9 @@
|
||||
</if>
|
||||
<if test="taskStatus != null and taskStatus != ''">
|
||||
and task_status = #{taskStatus}
|
||||
</if>
|
||||
<if test="taskNodeType != null and taskNodeType != ''">
|
||||
and task_node_type = #{taskStatus}
|
||||
</if>
|
||||
<if test="taskTypeList != null and taskTypeList.size > 0">
|
||||
and
|
||||
@ -156,7 +160,7 @@
|
||||
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.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.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
|
||||
left join sign_patient_manage_route route on node.manage_route_id = route.id
|
||||
<where>
|
||||
@ -214,6 +218,8 @@
|
||||
</if>
|
||||
<if test="taskSubdivision != null">task_subdivision,
|
||||
</if>
|
||||
<if test="taskNodeType != null">task_node_type,
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null">second_classify_describe,
|
||||
</if>
|
||||
<if test="executeTime != null">execute_time,
|
||||
@ -346,6 +352,8 @@
|
||||
</if>
|
||||
<if test="taskSubdivision != null">#{taskSubdivision},
|
||||
</if>
|
||||
<if test="taskNodeType != null">#{taskNodeType},
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null">#{secondClassifyDescribe},
|
||||
</if>
|
||||
<if test="executeTime != null">#{executeTime},
|
||||
@ -463,7 +471,7 @@
|
||||
</trim>
|
||||
</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, second_classify_describe,
|
||||
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,
|
||||
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,
|
||||
@ -472,7 +480,7 @@
|
||||
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.secondClassifyDescribe},
|
||||
(#{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.phoneMessageTemplateName},#{item.phoneMessageTemplateContent},
|
||||
#{item.questionInfoId},#{item.questionnaireName},#{item.questionnaireContent},#{item.questionExpirationDate},#{item.propagandaInfoId},#{item.propagandaTitle},#{item.propagandaContent},#{item.messagePushSign},#{item.messageTemplateId},
|
||||
@ -509,6 +517,9 @@
|
||||
<if test="taskSubdivision != null">task_subdivision =
|
||||
#{taskSubdivision},
|
||||
</if>
|
||||
<if test="taskNodeType != null">task_node_type =
|
||||
#{taskNodeType},
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null">second_classify_describe =
|
||||
#{secondClassifyDescribe},
|
||||
</if>
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
<result property="taskType" column="task_type"/>
|
||||
<result property="taskSubdivision" column="task_subdivision"/>
|
||||
<result property="taskStatus" column="task_status"/>
|
||||
<result property="taskNodeType" column="task_node_type"/>
|
||||
<result property="secondClassifyDescribe" column="second_classify_describe"/>
|
||||
<result property="executionTime" column="execution_time"/>
|
||||
<result property="templateId" column="template_id"/>
|
||||
@ -85,6 +86,7 @@
|
||||
<result property="taskType" column="task_type"/>
|
||||
<result property="taskSubdivision" column="task_subdivision"/>
|
||||
<result property="taskStatus" column="task_status"/>
|
||||
<result property="taskNodeType" column="task_node_type"/>
|
||||
<result property="secondClassifyDescribe" column="second_classify_describe"/>
|
||||
<result property="executionTime" column="execution_time"/>
|
||||
<result property="templateId" column="template_id"/>
|
||||
@ -137,6 +139,7 @@
|
||||
task_type,
|
||||
task_subdivision,
|
||||
task_status,
|
||||
task_node_type,
|
||||
second_classify_describe,
|
||||
execution_time,
|
||||
template_id,
|
||||
@ -205,6 +208,9 @@
|
||||
<if test="taskStatus != null and taskStatus != ''">
|
||||
and task_status = #{taskStatus}
|
||||
</if>
|
||||
<if test="taskNodeType != null and taskNodeType != ''">
|
||||
and task_node_type = #{taskNodeType}
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null and secondClassifyDescribe != ''">
|
||||
and second_classify_describe = #{secondClassifyDescribe}
|
||||
</if>
|
||||
@ -349,6 +355,8 @@
|
||||
</if>
|
||||
<if test="taskStatus != null">task_status,
|
||||
</if>
|
||||
<if test="taskNodeType != null">task_node_type,
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null">second_classify_describe,
|
||||
</if>
|
||||
<if test="executionTime != null">execution_time,
|
||||
@ -447,6 +455,8 @@
|
||||
</if>
|
||||
<if test="taskStatus != null">#{taskStatus},
|
||||
</if>
|
||||
<if test="taskNodeType != null">#{taskNodeType},
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null">#{secondClassifyDescribe},
|
||||
</if>
|
||||
<if test="executionTime != null">#{executionTime},
|
||||
@ -556,6 +566,9 @@
|
||||
<if test="taskStatus != null">task_status =
|
||||
#{taskStatus},
|
||||
</if>
|
||||
<if test="taskNodeType != null">task_node_type =
|
||||
#{taskNodeType},
|
||||
</if>
|
||||
<if test="secondClassifyDescribe != null">second_classify_describe =
|
||||
#{secondClassifyDescribe},
|
||||
</if>
|
||||
@ -706,6 +719,7 @@
|
||||
task_type,
|
||||
task_subdivision,
|
||||
task_status,
|
||||
task_node_type,
|
||||
second_classify_describe,
|
||||
execution_time,
|
||||
template_id,
|
||||
@ -756,6 +770,7 @@
|
||||
#{specialDiseaseNodeList.taskType},
|
||||
#{specialDiseaseNodeList.taskSubdivision},
|
||||
#{specialDiseaseNodeList.taskStatus},
|
||||
#{specialDiseaseNodeList.taskNodeType},
|
||||
#{specialDiseaseNodeList.secondClassifyDescribe},
|
||||
#{specialDiseaseNodeList.executionTime},
|
||||
#{specialDiseaseNodeList.templateId},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user