|
|
@ -1791,13 +1791,14 @@ |
|
|
|
<select id="yifengScreenResiListByHomeId" resultType="com.epmet.dto.result.IcResiUserBriefDTO"> |
|
|
|
|
|
|
|
|
|
|
|
select MOBILE as mobile,if(GENDER = 1,'男',if(GENDER = 2,'女','')) as gender,ID_CARD as idCard, |
|
|
|
select CONCAT(LEFT(MOBILE, 3), REPEAT('*', LENGTH(MOBILE) - 6), RIGHT(MOBILE, 3)) AS mobile, |
|
|
|
if(GENDER = 1,'男',if(GENDER = 2,'女','')) as gender, |
|
|
|
CONCAT(LEFT(ID_CARD, 3), REPEAT('*', LENGTH(ID_CARD) - 6), RIGHT(ID_CARD, 3)) AS idCard, |
|
|
|
NAME as icUserName |
|
|
|
from ic_resi_user |
|
|
|
where CUSTOMER_ID = '1739891126105206785' |
|
|
|
and |
|
|
|
HOME_ID = #{houseId} |
|
|
|
|
|
|
|
|
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|