Browse Source

指定customer表名

master
zhangyuan 3 years ago
parent
commit
335f2298cf
  1. 4
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/FactGridUserHouseDailyDao.xml

4
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/FactGridUserHouseDailyDao.xml

@ -98,8 +98,8 @@
INNER JOIN dim_grid g ON g.id = d.GRID_ID
INNER JOIN dim_agency c ON c.id = g.AGENCY_ID
WHERE
DATE_ID = #{dateId}
AND CUSTOMER_ID = #{customerId}
d.DATE_ID = #{dateId}
AND d.CUSTOMER_ID = #{customerId}
<if test="level == 'community'">
GROUP BY
c.id

Loading…
Cancel
Save