From 6ac60b54c25eaf59363b467810e93cbee8cca1e0 Mon Sep 17 00:00:00 2001
From: zhangheng <3226558941@qq.com>
Date: Thu, 27 Jun 2024 15:44:18 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=8A=A0=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../specialdiseasenode/SpecialDiseaseNode.java | 7 +++++++
.../SpecialDiseaseNodeMapper.xml | 18 +++++++++++++++++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/postdischarge-manage/src/main/java/com/xinelu/manage/domain/specialdiseasenode/SpecialDiseaseNode.java b/postdischarge-manage/src/main/java/com/xinelu/manage/domain/specialdiseasenode/SpecialDiseaseNode.java
index 56f80413..be4bc973 100644
--- a/postdischarge-manage/src/main/java/com/xinelu/manage/domain/specialdiseasenode/SpecialDiseaseNode.java
+++ b/postdischarge-manage/src/main/java/com/xinelu/manage/domain/specialdiseasenode/SpecialDiseaseNode.java
@@ -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
*/
diff --git a/postdischarge-manage/src/main/resources/mapper/manage/specialdiseasenode/SpecialDiseaseNodeMapper.xml b/postdischarge-manage/src/main/resources/mapper/manage/specialdiseasenode/SpecialDiseaseNodeMapper.xml
index a7cad4b4..aadfe061 100644
--- a/postdischarge-manage/src/main/resources/mapper/manage/specialdiseasenode/SpecialDiseaseNodeMapper.xml
+++ b/postdischarge-manage/src/main/resources/mapper/manage/specialdiseasenode/SpecialDiseaseNodeMapper.xml
@@ -55,6 +55,7 @@
+
@@ -106,6 +107,7 @@
+
@@ -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 @@
and message_push_sign = #{messagePushSign}
+
+ and phone_dial_method = #{phoneDialMethod}
+
and message_template__id = #{messageTemplateId}
@@ -410,6 +416,8 @@
node_content,
+ phone_dial_method,
+
#{routeId},
@@ -506,6 +514,8 @@
#{nodeContent},
+ #{phoneDialMethod}
+
@@ -653,6 +663,9 @@
node_content =
#{nodeContent},
+ phone_dial_method =
+ #{phoneDialMethod},
+
where id = #{id}
@@ -717,7 +730,8 @@
route_check_remark,
node_content,
create_by,
- create_time
+ create_time,
+ phone_dial_method
) values
(
@@ -767,6 +781,7 @@
#{specialDiseaseNodeList.nodeContent},
#{specialDiseaseNodeList.createBy},
#{specialDiseaseNodeList.createTime}
+ #{specialDiseaseNodeList.phoneDialMethod}
)
@@ -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,