zhongrj
2024-11-26 4a59a2d8a8951981ad8d3fb624b6fbae90225783
src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml
@@ -49,7 +49,12 @@
        from yw_emergency_space yes
        left join yw_firm_info yfi on yfi.id = yes.firm_id and yfi.is_deleted = 0
        where yes.is_deleted = 0
        and yes.type = 1
        <if test="facility.facLevel==2">
            and yes.type in (2,10)
        </if>
        <if test="facility.facLevel==3">
            and yes.type = 1
        </if>
        <if test="facility.firmId!=null">
            and yes.firm_id = #{facility.firmId}
        </if>