From 01a79d5b431b71cc79cf5f6cc92cd4f3432781dd Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 30 四月 2024 12:39:54 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml
index ab6674e..a2729d0 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml
@@ -39,6 +39,8 @@
         <result property="isSend" column="is_send"/>
         <result property="sendState" column="send_state"/>
         <result property="param" column="param"/>
+        <result property="hospType" column="hosp_type"/>
+        <result property="hospno" column="hospno"/>
     </resultMap>
 
     <sql id="selectIvrTaskVo">
@@ -57,6 +59,8 @@
                checkusername,
                checktime,
                type,
+               hosp_type,
+               hospno,
                typename,
                usebqsms,
                usebhsms,
@@ -108,6 +112,8 @@
             <if test="isupload != null ">and isupload = #{isupload}</if>
             <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
             <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
+            <if test="hospType != null  and hospType != ''">and hosp_type = #{hospType}</if>
+            <if test="hospno != null  and hospno != ''">and orgid = #{hospno}</if>
         </where>
         order by update_time desc,taskid desc
     </select>
@@ -154,6 +160,8 @@
             <if test="isSend != null">is_send,</if>
             <if test="sendState != null">send_state,</if>
             <if test="param != null">param,</if>
+            <if test="hospType != null  and hospType != ''">hosp_type,</if>
+            <if test="hospno != null  and hospno != ''">hospno,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskName != null">#{taskName},</if>
@@ -189,6 +197,8 @@
             <if test="isSend != null">#{isSend},</if>
             <if test="sendState != null">#{sendState},</if>
             <if test="param != null">#{param},</if>
+            <if test="hospType != null  and hospType != ''">#{hospType},</if>
+            <if test="hospno != null  and hospno != ''">#{hospno},</if>
         </trim>
     </insert>
 
@@ -228,6 +238,8 @@
             <if test="isSend != null">is_send = #{isSend},</if>
             <if test="sendState != null">send_state = #{sendState},</if>
             <if test="param != null">param = #{param},</if>
+            <if test="hospType != null  and hospType != ''">hosp_type = #{hospType},</if>
+            <if test="hospno != null  and hospno != ''">hospno = #{hospno},</if>
         </trim>
         where taskid = #{taskid}
     </update>

--
Gitblit v1.9.3