From 69123c8bf13ccb27539b0475e626c6c95c0ea6bb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 17 四月 2024 12:29:01 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/IvrTaskSingleMapper.xml | 43 +++++++++++++++++++++++++++++++++++++------
1 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskSingleMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskSingleMapper.xml
index d190734..96aaa82 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskSingleMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskSingleMapper.xml
@@ -63,11 +63,15 @@
<result property="operatorNo" column="operator_no"/>
<result property="hospno" column="hospno"/>
<result property="hospType" column="hosp_type"/>
+ <result property="wechat" column="wechat"/>
+ <result property="diagname" column="diagname"/>
+ <result property="deptname" column="deptname"/>
+ <result property="admindate" column="admindate"/>
+ <result property="roomno" column="roomno"/>
</resultMap>
<sql id="selectIvrTaskcallVo">
select id,
- sendname,
hosp_type,
hospno,
phone,
@@ -123,8 +127,14 @@
task_desc,
operator_no,
operator,
+ wechat,
+ sendname,
+ roomno,
+ admindate,
+ deptname,
+ diagname,
preachcontent
- from ivr_taskcall
+ from ivr_task_single
</sql>
<select id="selectIvrTaskcallList" parameterType="com.smartor.domain.IvrTaskSingle" resultMap="IvrTaskcallResult">
@@ -180,6 +190,7 @@
<if test="sendType != null and sendType != ''">and send_type = #{sendType}</if>
<if test="operator != null and operator != ''">and operator = #{operator}</if>
<if test="operatorNo != null and operatorNo != ''">and operator_no = #{operatorNo}</if>
+ <if test="wechat != null and wechat != ''">and wechat = #{wechat}</if>
</where>
order by update_time desc,id desc
</select>
@@ -191,7 +202,7 @@
<insert id="insertIvrTaskcall" parameterType="com.smartor.domain.IvrTaskSingle" useGeneratedKeys="true"
keyProperty="id">
- insert into ivr_taskcall
+ insert into ivr_task_single
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="sendname != null">sendname,</if>
<if test="phone != null">phone,</if>
@@ -249,6 +260,11 @@
<if test="operatorNo != null and operatorNo != ''">operator_no,</if>
<if test="hospType != null and hospType != ''">hosp_type,</if>
<if test="hospno != null and hospno != ''">hospno,</if>
+ <if test="wechat != null and wechat != ''">wechat,</if>
+ <if test="roomno != null and roomno != ''">roomno,</if>
+ <if test="admindate != null and admindate != ''">admindate,</if>
+ <if test="deptname != null and deptname != ''">deptname,</if>
+ <if test="diagname != null and diagname != ''">diagname,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="sendname != null">#{sendname},</if>
@@ -307,11 +323,16 @@
<if test="operatorNo != null and operatorNo != ''">#{operatorNo},</if>
<if test="hospType != null and hospType != ''">#{hospType},</if>
<if test="hospno != null and hospno != ''">#{hospno},</if>
+ <if test="wechat != null and wechat != ''">#{wechat},</if>
+ <if test="roomno != null and roomno != ''">#{roomno},</if>
+ <if test="admindate != null and admindate != ''">#{admindate},</if>
+ <if test="deptname != null and deptname != ''">#{deptname},</if>
+ <if test="diagname != null and diagname != ''">#{diagname},</if>
</trim>
</insert>
<update id="updateIvrTaskcall" parameterType="com.smartor.domain.IvrTaskSingle">
- update ivr_taskcall
+ update ivr_task_single
<trim prefix="SET" suffixOverrides=",">
<if test="sendname != null">sendname = #{sendname},</if>
<if test="phone != null">phone = #{phone},</if>
@@ -369,12 +390,17 @@
<if test="operator != null and operator != ''">operator = #{operator},</if>
<if test="hospType != null and hospType != ''">hosp_type = #{hospType},</if>
<if test="hospno != null and hospno != ''">hospno = #{hospno},</if>
+ <if test="wechat != null and wechat != ''">wechat = #{wechat},</if>
+ <if test="roomno != null and roomno != ''">roomno = #{roomno},</if>
+ <if test="admindate != null and admindate != ''">admindate = #{admindate},</if>
+ <if test="deptname != null and deptname != ''">deptname = #{deptname},</if>
+ <if test="diagname != null and diagname != ''">diagname = #{diagname},</if>
</trim>
where id = #{id}
</update>
<update id="deleteIvrTaskcallById" parameterType="Long">
- update ivr_taskcall
+ update ivr_task_single
<trim prefix="SET" suffixOverrides=",">
del_flag =1
</trim>
@@ -440,8 +466,13 @@
operator,
hospno,
hosp_type,
+ wechat,
+ roomno,
+ admindate,
+ deptname,
+ diagname,
send_time_slot
- FROM ivr_taskcall,
+ FROM ivr_task_single,
JSON_TABLE(send_time_slot, '$[*]' COLUMNS (
begantime DATETIME PATH '$.begantime',
endtime DATETIME PATH '$.endtime'
--
Gitblit v1.9.3