linwe
2024-07-11 7d430038a922f02678a9ee3df1aed0d8ab33e0d5
src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -351,8 +351,6 @@
            and jh.is_deleted = 0
            order by jh.id desc
        </where>
    </select>
    <select id="getAllHouseHold" resultMap="householdPageAndLabelMap">
@@ -766,7 +764,7 @@
            and jh.is_deleted = 0
        </where>
        order by jh.create_time desc
        limit 0,10000
        limit 0,20000
    </select>
@@ -783,6 +781,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>