liusheng
2025-04-16 4613099dca2d4e1c7b46a69a98bb4c210312ac57
smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
@@ -106,6 +106,7 @@
        from pat_med_outhosp pmo left join pat_archive pa on pmo.patid = pa.id
        <where>
            pmo.del_flag=0
            and pmo.orgid =#{orgid}
            <if test="hospitalname != null  and hospitalname != ''">and pmo.hospitalname like concat('%',
                #{hospitalname},
                '%')