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>