zhongrj
2024-02-21 051ccdbfdc1daec64187d28af1ca11e55649cd1e
src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.xml
@@ -61,13 +61,13 @@
                    <if test="vo.roleName=='wgy'">
                        <choose>
                            <when test="gridCodeList !=null and gridCodeList.size()>0">
                                and jp.grid_code in
                                and jh.grid_code in
                                <foreach collection="gridCodeList" item="code" open="(" close=")" separator=",">
                                    #{code}
                                </foreach>
                            </when>
                            <otherwise>
                                and jp.grid_code in ('')
                                and jh.grid_code in ('')
                            </otherwise>
                        </choose>
                    </if>