Browse Source

所有上级ID allParentIds 字段上报时去掉第一个id和逗号

ftature/screen
wanggongfeng 4 years ago
parent
commit
8f23f9aa01
  1. 2
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

2
esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

@ -34,7 +34,7 @@
t1.GRID_ID as orgId,
t1.GRID as orgName,
SUBSTRING_INDEX(t1.PARENT_DEPT_IDS,',',-1) as parentId,
PARENT_DEPT_IDS as allParentIds,
REPLACE(t1.PARENT_DEPT_IDS,CONCAT(SUBSTRING_INDEX(t1.PARENT_DEPT_IDS,',',1),','),'') as allParentIds,
t1.ID as projectId,
t1.CREATED_BY as projectCreator,
t1.NICK_NAME as linkName,

Loading…
Cancel
Save