|
@ -16,6 +16,7 @@ |
|
|
<result property="address" column="address"/> |
|
|
<result property="address" column="address"/> |
|
|
<result property="houseType" column="houseType"/> |
|
|
<result property="houseType" column="houseType"/> |
|
|
<result property="totalResi" column="totalResi"/> |
|
|
<result property="totalResi" column="totalResi"/> |
|
|
|
|
|
<result property="homeId" column="homeId"/> |
|
|
<result property="domicilePlace" column="domicilePlace"></result> |
|
|
<result property="domicilePlace" column="domicilePlace"></result> |
|
|
<collection property="list" ofType="com.epmet.dto.result.CollectListResultDTO$CollectListMemberResultDTO" column="{id=id,domicilePlace=domicile_place}" select="selectMemberList"/> |
|
|
<collection property="list" ofType="com.epmet.dto.result.CollectListResultDTO$CollectListMemberResultDTO" column="{id=id,domicilePlace=domicile_place}" select="selectMemberList"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
@ -26,6 +27,7 @@ |
|
|
c.ADDRESS AS address, |
|
|
c.ADDRESS AS address, |
|
|
c.HOUSE_TYPE AS houseType, |
|
|
c.HOUSE_TYPE AS houseType, |
|
|
c.TOTAL_RESI AS totalResi, |
|
|
c.TOTAL_RESI AS totalResi, |
|
|
|
|
|
c.HOME_ID as homeId, |
|
|
#{domicilePlace} as domicile_place |
|
|
#{domicilePlace} as domicile_place |
|
|
FROM ic_resi_collect c |
|
|
FROM ic_resi_collect c |
|
|
left join ic_resi_member m on(c.id=m.IC_RESI_COLLECT_ID and m.del_flag='0') |
|
|
left join ic_resi_member m on(c.id=m.IC_RESI_COLLECT_ID and m.del_flag='0') |
|
@ -102,4 +104,4 @@ |
|
|
ORDER BY |
|
|
ORDER BY |
|
|
m.UPDATED_TIME DESC |
|
|
m.UPDATED_TIME DESC |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |
|
|