新加字段

This commit is contained in:
zhangheng 2024-06-27 15:44:18 +08:00
parent 92e21842c0
commit 6ac60b54c2
2 changed files with 24 additions and 1 deletions

View File

@ -238,6 +238,13 @@ public class SpecialDiseaseNode extends BaseEntity {
@Excel(name = "AL电话推送标识0未开启1已开启")
private Integer phonePushSign;
/**
* AI自动 COMMON手动
*/
@ApiModelProperty(value = "AI自动 或 COMMON手动")
@Excel(name = "AI自动 或 COMMON手动")
private String phoneDialMethod;
/**
* AI电话模板表id
*/

View File

@ -55,6 +55,7 @@
<result property="appletPromptDescription" column="applet_prompt_description"/>
<result property="appletNodeContent" column="applet_node_content"/>
<result property="phonePushSign" column="phone_push_sign"/>
<result property="phoneDialMethod" column="phone_dial_method"/>
<result property="phoneTemplateId" column="phone_template_id"/>
<result property="phoneTemplateName" column="phone_template_name"/>
<result property="phoneMessageRemind" column="phone_message_remind"/>
@ -106,6 +107,7 @@
<result property="appletPromptDescription" column="applet_prompt_description"/>
<result property="appletNodeContent" column="applet_node_content"/>
<result property="phonePushSign" column="phone_push_sign"/>
<result property="phoneDialMethod" column="phone_dial_method"/>
<result property="phoneTemplateId" column="phone_template_id"/>
<result property="phoneTemplateName" column="phone_template_name"/>
<result property="phoneMessageRemind" column="phone_message_remind"/>
@ -156,6 +158,7 @@
applet_prompt_description,
applet_node_content,
phone_push_sign,
phone_dial_method,
phone_template_id,
phone_template_name,
phone_message_remind,
@ -219,6 +222,9 @@
<if test="messagePushSign != null ">
and message_push_sign = #{messagePushSign}
</if>
<if test="phoneDialMethod != null ">
and phone_dial_method = #{phoneDialMethod}
</if>
<if test="messageTemplateId != null ">
and message_template__id = #{messageTemplateId}
</if>
@ -410,6 +416,8 @@
</if>
<if test="nodeContent != null">node_content,
</if>
<if test="phoneDialMethod != null">phone_dial_method,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="routeId != null">#{routeId},
@ -506,6 +514,8 @@
</if>
<if test="nodeContent != null">#{nodeContent},
</if>
<if test="phoneDialMethod != null ">#{phoneDialMethod}
</if>
</trim>
</insert>
@ -653,6 +663,9 @@
<if test="nodeContent != null">node_content =
#{nodeContent},
</if>
<if test="phoneDialMethod != null ">phone_dial_method =
#{phoneDialMethod},
</if>
</trim>
where id = #{id}
</update>
@ -717,7 +730,8 @@
route_check_remark,
node_content,
create_by,
create_time
create_time,
phone_dial_method
) values
<foreach item="specialDiseaseNodeList" index="index" collection="list" separator=",">
(
@ -767,6 +781,7 @@
#{specialDiseaseNodeList.nodeContent},
#{specialDiseaseNodeList.createBy},
#{specialDiseaseNodeList.createTime}
#{specialDiseaseNodeList.phoneDialMethod}
)
</foreach>
</insert>
@ -837,6 +852,7 @@
sdn.route_check_date,
sdn.route_check_remark,
sdn.node_content,
sdn.phone_dial_method,
(select COUNT(1)
from special_disease_node
where route_id = specialDiseaseRouteId) totalNumber,