|
|
@ -33,36 +33,6 @@ |
|
|
|
</collection> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<resultMap id="homeMemberList2" type="com.epmet.dto.result.HouseIcResiUserResultDTO"> |
|
|
|
|
|
|
|
<result column="customer_id" property="customerId"/> |
|
|
|
<result column="agency_id" property="agencyId"/> |
|
|
|
<result column="grid_id" property="gridId"/> |
|
|
|
<result column="village_id" property="villageId"/> |
|
|
|
<result column="build_id" property="buildId"/> |
|
|
|
<result column="unit_id" property="unitId"/> |
|
|
|
<result column="home_id" property="homeId"/> |
|
|
|
<collection property="houseMemberList2" ofType="java.util.LinkedHashMap"> |
|
|
|
<id column="id" property="id"/> |
|
|
|
<result column="name" property="name"/> |
|
|
|
<result column="mobile" property="mobile"/> |
|
|
|
<result column="gender" property="gender"/> |
|
|
|
<result column="id_card" property="idCard"/> |
|
|
|
<result column="birthday" property="birthday"/> |
|
|
|
<result column="hjszd" property="hjszd"/> |
|
|
|
<result column="yhzgx" property="yhzgx"/> |
|
|
|
<result column="is_party" property="isParty"/> |
|
|
|
<result column="is_tenant" property="isTenant"/> |
|
|
|
<result column="is_floating" property="isFloating"/> |
|
|
|
<result column="gzdw" property="gzdw"/> |
|
|
|
<result column="mz" property="mz"/> |
|
|
|
<result column="jg" property="jg"/> |
|
|
|
<result column="hyzk" property="hyzk"/> |
|
|
|
<result column="culture" property="culture"/> |
|
|
|
<result column="faith" property="faith"/> |
|
|
|
<result column="remarks" property="remarks"/> |
|
|
|
</collection> |
|
|
|
</resultMap> |
|
|
|
<insert id="add"> |
|
|
|
insert into ${tableName} |
|
|
|
( |
|
|
@ -971,9 +941,10 @@ |
|
|
|
</choose> |
|
|
|
GROUP BY is_floating |
|
|
|
</select> |
|
|
|
<select id="getResiUser" resultMap="homeMemberList"> |
|
|
|
<select id="getResiUserGroupHomeId" resultMap="homeMemberList"> |
|
|
|
SELECT |
|
|
|
* |
|
|
|
HOME_ID, |
|
|
|
ID,NAME,GENDER,MOBILE,ID_CARD,BIRTHDAY,HJSZD,YHZGX,IS_PARTY,IS_TENANT,IS_FLOATING,GZDW,MZ,JG,HYZK,CULTURE,FAITH,REMARKS |
|
|
|
FROM ic_resi_user |
|
|
|
WHERE |
|
|
|
CUSTOMER_ID = #{customerId} |
|
|
|