linwei
2024-01-23 5745a87f3a139ea2bbdaf4704978e4c151ecc45a
src/main/java/org/springblade/modules/property/mapper/PropertyCapitalApplyMapper.xml
@@ -53,8 +53,15 @@
                #{item}
            </foreach>
        </if>
        <if test="propertyCapitalApply.regionCode != null and propertyCapitalApply.regionCode !='' ">
            and jd.community_code like concat('%',#{propertyCapitalApply.regionCode},'%')
        <if test="isAdministrator==2">
            <choose>
                <when test="regionChildCodesList !=null and regionChildCodesList.size()>0">
                    and jd.community_code in
                    <foreach collection="regionChildCodesList" item="code" open="(" close=")" separator=",">
                        #{code}
                    </foreach>
                </when>
            </choose>
        </if>
        order by jpca.create_time desc
    </select>