Browse Source

灵山项目:修改按新村统计各网格数据sql;

master
luyan 2 years ago
parent
commit
3bf41e01b6
  1. 4
      epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

4
epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

@ -671,10 +671,10 @@
<where>
e.DEL_FLAG = 0
<if test="null != orgId and orgId != ''">
<if test="null != orgType and orgType !='' and orgType = 'agency'">
<if test="null != orgType and orgType !='' and orgType == 'agency'">
AND e.AGENCY_ID = #{orgId}
</if>
<if test="null != orgType and orgType !='' and orgType = 'grid'">
<if test="null != orgType and orgType !='' and orgType == 'grid'">
AND e.GRID_ID = #{orgId}
</if>
</if>

Loading…
Cancel
Save