zhongrj
2024-12-24 33a5f1eca8280c842bf320f5185211da27d6db7a
防线查询
1 files modified
4 ■■■■ changed files
src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml 4 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml
@@ -50,10 +50,10 @@
        left join yw_firm_info yfi on yfi.id = yes.firm_id and yfi.is_deleted = 0
        where yes.is_deleted = 0
        <if test="facility.facLevel==2">
            and yes.type in (2,10)
            and yes.type = 3
        </if>
        <if test="facility.facLevel==3">
            and yes.type = 1
            and yes.type in (1,2)
        </if>
        <if test="facility.firmId!=null">
            and yes.firm_id = #{facility.firmId}