linwe
2023-12-01 5d5cd3ad979a0b85ab8c7034dcad1663fdcf71be
src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -77,8 +77,8 @@
    <!--房屋详情-->
    <resultMap id="houseAndHouseLabelMap" type="org.springblade.modules.house.vo.HouseVO" autoMapping="true">
        <id property="id" column="id"/>
        <collection property="houseLabelVOList" javaType="java.util.List"
                    ofType="org.springblade.modules.house.vo.HouseLabelVO" autoMapping="true">
        <collection property="userHouseLabelVOList" javaType="java.util.List"
                    ofType="org.springblade.modules.house.vo.UserHouseLabelVO" autoMapping="true">
            <id property="id" column="cid"/>
            <result property="remark" column="cremark"/>
        </collection>
@@ -112,8 +112,8 @@
        jh.*,
        jhl.id as cid,jhl.*,jhl.remark as cremark
        from jczz_house jh
        left join jczz_house_label jhl on jh.house_code = jhl.house_code
        where jh.is_deleted = 0
        left join jczz_user_house_label jhl on jh.house_code = jhl.house_code
        where jh.is_deleted = 0 and jhl.lable_type = 2
        and jh.house_code = #{house.houseCode}
    </select>