陈昶聿
6 天以前 365472a65d62cac79562f23e2b1d2f193809fa6e
smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
@@ -514,6 +514,9 @@
        </if>
        <if test="inhospstate != null and inhospstate != ''">
            and pmi.inhospstate = #{inhospstate}
            <if test="inhospstate == '1'">
                and pmi.endtime is not null
            </if>
        </if>
        <if test="serialnum != null and serialnum != ''">
            and pmo.serialnum = #{serialnum}