diff --git a/zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml b/zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml index bf5b1ae6..8daeb9a2 100644 --- a/zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml +++ b/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;