Browse Source

测试调整

master
sunyuchao 4 years ago
parent
commit
6303fc2162
  1. 2
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/org/CustomerGridDao.xml
  2. 2
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/org/StatsCustomerAgencyDao.xml
  3. 2
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/user/UserDao.xml

2
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/org/CustomerGridDao.xml

@ -134,9 +134,11 @@
WHERE
del_flag = '0'
AND customer_id = #{customerId}
<if test="gridIdList != null and gridIdList.size() > 0">
<foreach collection="gridIdList" item="gridId" open="AND id IN (" separator="," close=")">
#{gridId}
</foreach>
</if>
</select>
</mapper>

2
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/org/StatsCustomerAgencyDao.xml

@ -212,9 +212,11 @@
WHERE
del_flag = '0'
AND customer_id = #{customerId}
<if test="agencyIdList != null and agencyIdList.size() > 0">
<foreach collection="agencyIdList" item="agencyId" open="AND id IN (" separator="," close=")">
#{agencyId}
</foreach>
</if>
</select>
</mapper>

2
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/user/UserDao.xml

@ -1005,9 +1005,11 @@
AND gsr.del_flag = '0'
AND gsr.role_name = '网格员'
AND cs.customer_id = #{customerId}
<if test="staffIdList != null and staffIdList.size() > 0">
<foreach collection="staffIdList" item="staffId" open="AND cs.USER_ID IN (" separator="," close=")">
#{staffId}
</foreach>
</if>
</select>
</mapper>

Loading…
Cancel
Save