|
|
@ -359,7 +359,10 @@ |
|
|
|
<result property="faceImg" column="FACE_IMG"/> |
|
|
|
<result property="sex" column="SEX"/> |
|
|
|
<result property="realName" column="REAL_NAME"/> |
|
|
|
<result property="state" column="STATE"/> |
|
|
|
<result property="remark" column="REMARK"/> |
|
|
|
<result property="gridId" column="gridId"/> |
|
|
|
<result property="grid" column="grid"/> |
|
|
|
<collection property="userTagInfos" select="com.elink.esua.epdc.dao.UserTagDao.selectByUserId" |
|
|
|
column="id"> |
|
|
|
</collection> |
|
|
@ -373,12 +376,21 @@ |
|
|
|
eu.FACE_IMG, |
|
|
|
eu.SEX, |
|
|
|
eu.REAL_NAME, |
|
|
|
eu.STATE, |
|
|
|
eu.REMARK, |
|
|
|
(select r.GRID_ID |
|
|
|
from epdc_user_grid_relation r |
|
|
|
where r.USER_ID=eu.ID |
|
|
|
order by r.CREATED_TIME desc |
|
|
|
limit 1 |
|
|
|
)as gridId |
|
|
|
)as gridId, |
|
|
|
( |
|
|
|
select r.GRID |
|
|
|
from epdc_user_grid_relation r |
|
|
|
where r.USER_ID=eu.ID |
|
|
|
order by r.CREATED_TIME desc |
|
|
|
limit 1 |
|
|
|
)as grid |
|
|
|
FROM |
|
|
|
epdc_user eu |
|
|
|
WHERE |
|
|
|