陈昶聿
3 天以前 e444243ca81f28c69a5c0a79ec77689ce6f6ee52
smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -1013,7 +1013,7 @@
        where 1=1
        and del_flag = 0
        and service_type=2
        and is_visit_again = 2
        and visit_count = 1
        <if test="orgid != null and orgid != ''">
            and orgid = #{orgid}
        </if>
@@ -1042,7 +1042,8 @@
        where 1=1
        and del_flag = 0
        and service_type=2
        and is_visit_again = 1
        and visit_count > 1
        <if test="orgid != null and orgid != ''">
            and orgid = #{orgid}
        </if>