Browse Source

测试调整

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

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

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

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

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

8
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.del_flag = '0'
AND gsr.role_name = '网格员' AND gsr.role_name = '网格员'
AND cs.customer_id = #{customerId} AND cs.customer_id = #{customerId}
<foreach collection="staffIdList" item="staffId" open="AND cs.USER_ID IN (" separator="," close=")"> <if test="staffIdList != null and staffIdList.size() > 0">
#{staffId} <foreach collection="staffIdList" item="staffId" open="AND cs.USER_ID IN (" separator="," close=")">
</foreach> #{staffId}
</foreach>
</if>
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save