Browse Source

人房管理代码迁移

feature/codemove
wanggongfeng 3 years ago
parent
commit
f3745ae9ca
  1. 8
      epdc-cloud-admin/src/main/resources/mapper/SysDeptDao.xml

8
epdc-cloud-admin/src/main/resources/mapper/SysDeptDao.xml

@ -365,19 +365,19 @@
SELECT
grid.id AS gridId,
grid.`name` AS gridName,
grid.dept_id as gridDeptId,
grid.id as gridDeptId,
comm.id AS communityId,
comm.`name` AS communityName,
comm.dept_id as communityDeptId,
comm.id as communityDeptId,
street.id AS streetId,
street.`name` AS streetName,
street.dept_id as streetDeptId
street.id as streetDeptId
FROM
sys_dept grid
LEFT JOIN sys_dept comm ON comm.id = grid.pid
LEFT JOIN sys_dept street ON street.id = comm.pid
WHERE
grid.tags LIKE '%grid_party%'
grid.type_key LIKE '%grid_party%'
AND grid.name = #{gridName}
</select>

Loading…
Cancel
Save