Browse Source

统计问题

develop
wangsixiang 6 months ago
parent
commit
cdfe733e2e
  1. 2
      zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml

2
zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml

@ -348,7 +348,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join dc_event on dc_publish_manage.event_id=dc_event.id
WHERE YEAR(publish_time) = YEAR(CURDATE())
AND MONTH(publish_time) = MONTH(#{publishTime})
GROUP BY HOUR(publish_time), publish_channels
GROUP BY publish_channels
) AS m ON h.eventType = m.eventType AND pc.publish_channels = m.publish_channels
ORDER BY h.eventType, pc.publish_channels;
</select>

Loading…
Cancel
Save