Browse Source

修复党员参与情况排序bug

feature/syp_workLog
yujt 5 years ago
parent
commit
d6a81e1ee7
  1. 2
      epdc-cloud-analysis/pom.xml
  2. 6
      epdc-cloud-analysis/src/main/resources/mapper/party/PartyCaseDisrtibutionDao.xml

2
epdc-cloud-analysis/pom.xml

@ -177,7 +177,7 @@
<nacos.register-enabled>true</nacos.register-enabled> <nacos.register-enabled>true</nacos.register-enabled>
<nacos.server-addr>47.104.224.45:8848</nacos.server-addr> <nacos.server-addr>47.104.224.45:8848</nacos.server-addr>
<nacos.ip>47.104.85.99</nacos.ip> <nacos.ip>192.168.0.16</nacos.ip>
<nacos.namespace>de000340-5fc4-45aa-bdbc-dd96852012ad</nacos.namespace> <nacos.namespace>de000340-5fc4-45aa-bdbc-dd96852012ad</nacos.namespace>
<deptconfig.disdeptid>1263002886258843649</deptconfig.disdeptid> <deptconfig.disdeptid>1263002886258843649</deptconfig.disdeptid>

6
epdc-cloud-analysis/src/main/resources/mapper/party/PartyCaseDisrtibutionDao.xml

@ -67,7 +67,11 @@
AND s.STREET_ID in <foreach collection="deptIdList" index="index" item="deptId" open="(" separator="," close=")">#{deptId}</foreach> AND s.STREET_ID in <foreach collection="deptIdList" index="index" item="deptId" open="(" separator="," close=")">#{deptId}</foreach>
</otherwise> </otherwise>
</choose> </choose>
<if test="streetId == null or streetId ==''">GROUP BY s.STREET_ID</if> GROUP BY
<choose>
<when test="streetId != null and streetId !=''">s.COMMUNITY_ID</when>
<otherwise>s.STREET_ID</otherwise>
</choose>
</when> </when>
<otherwise> <otherwise>
SELECT SELECT

Loading…
Cancel
Save