Browse Source

居民类别分析中 优化查询 pids like 错误

release
jianjun 4 years ago
parent
commit
4b5f6d65ab
  1. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

2
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

@ -515,7 +515,7 @@
WHERE 1=1
<if test="level != null and level != ''">
<if test="level=='agency'">
AND (CONCAT(PIDS, ':', agency_id) like CONCAT(#{id},':%'))
AND (CONCAT(PIDS, agency_id) like CONCAT(#{id},'%'))
</if>
<if test="level=='grid'">
AND GRID_ID = #{id}

Loading…
Cancel
Save