sinake
2026-06-08 cf9c63e9a06a66969066a8a0179dfe1f00f9ed94
ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
@@ -149,8 +149,11 @@
            <if test="responsibleusername != null  and responsibleusername != ''">and sd.ResponsibleUserName like
                concat('%',#{responsibleusername}, '%')
            </if>
            <if test="state != null  and state != ''">and sdi.state = #{state}</if>
            <if test="startDeathtime != null and endDeathtime != null ">and sdi.DeathTime BETWEEN  #{startDeathtime} and  #{endDeathtime}</if>
        </where>
        order by sd.InpatientNo desc
        <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
    </select>