From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml index b77c87f..dd787d7 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyTaskSingleMapper.xml @@ -192,7 +192,7 @@ <if test="medicalRecordNo != null and medicalRecordNo != ''">and medical_record_no = #{medicalRecordNo} </if> <if test="preachcontent != null and preachcontent != ''">and preachcontent = #{preachcontent}</if> - <if test="sendType != null and sendType != ''">and send_type = #{sendType}</if> + <if test="sendType != null ">and send_type = #{sendType}</if> <if test="sendTimeSlot != null and sendTimeSlot != ''">and send_time_slot = #{sendTimeSlot}</if> <if test="taskName != null and taskName != ''">and task_name like concat('%', #{taskName}, '%')</if> <if test="taskDesc != null and taskDesc != ''">and task_desc = #{taskDesc}</if> @@ -420,7 +420,7 @@ <if test="bedno != null">bedno = #{bedno},</if> <if test="patid != null">patid = #{patid},</if> </trim> - where id = #{id} + where patid = #{patid} and taskid = #{taskid} </update> <delete id="deleteSvyTaskSingleById" parameterType="Long"> -- Gitblit v1.9.3