Browse Source

查询CachingUserInfoDTOsql修改

feature/dangjian
尹作梅 6 years ago
parent
commit
b74c2b6bc5
  1. 4
      esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml

4
esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml

@ -411,6 +411,7 @@
(select r.GRID_ID (select r.GRID_ID
from epdc_user_grid_relation r from epdc_user_grid_relation r
where r.USER_ID=eu.ID where r.USER_ID=eu.ID
and r.DEL_FLAG='0'
order by r.CREATED_TIME desc order by r.CREATED_TIME desc
limit 1 limit 1
)as gridId, )as gridId,
@ -418,6 +419,7 @@
select r.GRID select r.GRID
from epdc_user_grid_relation r from epdc_user_grid_relation r
where r.USER_ID=eu.ID where r.USER_ID=eu.ID
and r.DEL_FLAG='0'
order by r.CREATED_TIME desc order by r.CREATED_TIME desc
limit 1 limit 1
)as grid )as grid
@ -447,6 +449,7 @@
(select r.GRID_ID (select r.GRID_ID
from epdc_user_grid_relation r from epdc_user_grid_relation r
where r.USER_ID=eu.ID where r.USER_ID=eu.ID
and r.DEL_FLAG='0'
order by r.CREATED_TIME desc order by r.CREATED_TIME desc
limit 1 limit 1
)as gridId, )as gridId,
@ -454,6 +457,7 @@
select r.GRID select r.GRID
from epdc_user_grid_relation r from epdc_user_grid_relation r
where r.USER_ID=eu.ID where r.USER_ID=eu.ID
and r.DEL_FLAG='0'
order by r.CREATED_TIME desc order by r.CREATED_TIME desc
limit 1 limit 1
)as grid )as grid

Loading…
Cancel
Save