| | |
| | | <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> |
| | |
| | | <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"> |