src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -33,6 +33,7 @@ <collection property="houseLabelVOList" javaType="java.util.List" ofType="org.springblade.modules.house.vo.HouseLabelVO" autoMapping="true"> <id property="id" column="cid"/> <result property="remark" column="cremark"/> </collection> </resultMap> @@ -45,7 +46,7 @@ <select id="getHouseDetail" resultMap="houseAndHouseLabelMap"> select jh.*, jhl.id as cid,jhl.* 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