From ec6b75cfebe87ad118aba001708e686bf28e2fde Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 03 八月 2026 20:57:04 +0800
Subject: [PATCH] 1.新增同德药品采集、宣教功能 2.处理新华采集BUG 3.新增service_subtask的院区ID 4.采集同德的入院申请单信息 5.给出院表新增药品字段、入院申请单字段
---
smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml
index dd787d7..293cabc 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml
@@ -12,7 +12,7 @@
<result property="age" column="age"/>
<result property="sfzh" column="sfzh"/>
<result property="addr" column="addr"/>
- <result property="senderdetail" column="senderdetail"/>
+ <result property="hospitaldistrictname" column="hospitaldistrictname"/>
<result property="type" column="type"/>
<result property="taskid" column="taskid"/>
<result property="templateid" column="templateid"/>
@@ -81,7 +81,7 @@
age,
sfzh,
addr,
- senderdetail,
+ hospitaldistrictname,
type,
taskid,
templateid,
@@ -144,14 +144,14 @@
<select id="selectSvyTaskSingleList" parameterType="com.smartor.domain.SvyTaskSingle"
resultMap="SvyTaskSingleResult">
<include refid="selectSvyTaskSingleVo"/>
- <where>
+ where 1=1
<if test="sendname != null and sendname != ''">and sendname like concat('%', #{sendname}, '%')</if>
<if test="phone != null and phone != ''">and phone = #{phone}</if>
<if test="sex != null and sex != ''">and sex = #{sex}</if>
<if test="age != null ">and age = #{age}</if>
<if test="sfzh != null and sfzh != ''">and sfzh = #{sfzh}</if>
<if test="addr != null and addr != ''">and addr = #{addr}</if>
- <if test="senderdetail != null and senderdetail != ''">and senderdetail = #{senderdetail}</if>
+ <if test="hospitaldistrictname != null and hospitaldistrictname != ''">and hospitaldistrictname = #{hospitaldistrictname}</if>
<if test="type != null and type != ''">and type = #{type}</if>
<if test="taskid != null ">and taskid = #{taskid}</if>
<if test="templateid != null and templateid != ''">and templateid = #{templateid}</if>
@@ -207,7 +207,6 @@
<if test="roomno != null and roomno != ''">and roomno = #{roomno}</if>
<if test="bedno != null and bedno != ''">and bedno = #{bedno}</if>
<if test="patid != null ">and patid = #{patid}</if>
- </where>
</select>
<select id="selectSvyTaskSingleById" parameterType="Long" resultMap="SvyTaskSingleResult">
@@ -225,7 +224,7 @@
<if test="age != null">age,</if>
<if test="sfzh != null">sfzh,</if>
<if test="addr != null">addr,</if>
- <if test="senderdetail != null">senderdetail,</if>
+ <if test="hospitaldistrictname != null">hospitaldistrictname,</if>
<if test="type != null">type,</if>
<if test="taskid != null">taskid,</if>
<if test="templateid != null">templateid,</if>
@@ -291,7 +290,7 @@
<if test="age != null">#{age},</if>
<if test="sfzh != null">#{sfzh},</if>
<if test="addr != null">#{addr},</if>
- <if test="senderdetail != null">#{senderdetail},</if>
+ <if test="hospitaldistrictname != null">#{hospitaldistrictname},</if>
<if test="type != null">#{type},</if>
<if test="taskid != null">#{taskid},</if>
<if test="templateid != null">#{templateid},</if>
@@ -361,7 +360,7 @@
<if test="age != null">age = #{age},</if>
<if test="sfzh != null">sfzh = #{sfzh},</if>
<if test="addr != null">addr = #{addr},</if>
- <if test="senderdetail != null">senderdetail = #{senderdetail},</if>
+ <if test="hospitaldistrictname != null">hospitaldistrictname = #{hospitaldistrictname},</if>
<if test="type != null">type = #{type},</if>
<if test="taskid != null">taskid = #{taskid},</if>
<if test="templateid != null">templateid = #{templateid},</if>
--
Gitblit v1.9.3