linwe
2023-11-17 b3162ed4712c2c85a9c18116a7547440edc41c93
src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -112,9 +112,9 @@
            jh.*,
            jhl.id as cid,jhl.*,jhl.remark as cremark
        from jczz_household jh
        left join jczz_household_label jhl on jh.id = jhl.household_id
        where 1=1 and is_deleted = 0
        and house_code = #{code}
        left join jczz_user_house_label jhl on jh.id = jhl.household_id
        where 1=1 and jh.is_deleted = 0
        and jh.house_code = #{code}
    </select>
    <!--查询房屋集合信息-按id-->
@@ -123,7 +123,7 @@
            jh.*,
            jhl.id as cid,jhl.*,jhl.remark as cremark
        from jczz_household jh
        left join jczz_household_label jhl on jh.id = jhl.household_id
        left join jczz_user_house_label jhl on jh.id = jhl.household_id
        where 1=1 and is_deleted = 0
        and jh.id = #{household.id}
    </select>