diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml index 51dc1cb6b..7a9355a2b 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml @@ -469,7 +469,7 @@ from epdc_user_grid_relation r where r.USER_ID=eu.ID and r.DEL_FLAG='0' - order by r.CREATED_TIME desc + order by r.SWITCHED_TIME desc limit 1 )as gridId, ( @@ -477,7 +477,7 @@ from epdc_user_grid_relation r where r.USER_ID=eu.ID and r.DEL_FLAG='0' - order by r.CREATED_TIME desc + order by r.SWITCHED_TIME desc limit 1 )as grid FROM @@ -507,7 +507,7 @@ from epdc_user_grid_relation r where r.USER_ID=eu.ID and r.DEL_FLAG='0' - order by r.CREATED_TIME desc + order by r.SWITCHED_TIME desc limit 1 )as gridId, ( @@ -515,7 +515,7 @@ from epdc_user_grid_relation r where r.USER_ID=eu.ID and r.DEL_FLAG='0' - order by r.CREATED_TIME desc + order by r.SWITCHED_TIME desc limit 1 )as grid FROM