liusheng
15 小时以前 6935135cee4cf8116d750f892582ae571e329ac7
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -891,6 +891,8 @@
            <if test="endtime != null">
                AND d.endtime = #{endtime}
            </if>
            <if test="cry != null and cry == 0 ">and d.endtime is null</if>
            <if test="cry != null and cry == 1 ">and d.endtime is not null</if>
            <if test="visitno != null and visitno != ''">
                AND d.inhospno = #{visitno}
            </if>