linwe
2024-06-27 a7f2813fda788b63ad7757cd4a9a71b5fd212153
src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -766,7 +766,7 @@
            and jh.is_deleted = 0
        </where>
        order by jh.create_time desc
        limit 0,10000
        limit 0,20000
    </select>
@@ -783,6 +783,11 @@
            <if test="household.communityCode != null and household.communityCode != ''">
                and jg.community_code = #{household.communityCode}
            </if>
            <if test="household.userId!=null">
                AND jg.grid_code IN ( SELECT DISTINCT jgm.grid_code FROM jczz_gridman jgm WHERE jgm.user_id =
                #{household.userId}
                )
            </if>
            <if test="household.confirmFlag != null">
                and jh.confirm_flag =  #{household.confirmFlag}
            </if>