Browse Source

条件更换

develop
wangsixiang 6 months ago
parent
commit
98d95328e7
  1. 3
      zc-business/src/main/resources/mapper/business/DcPublishManageMapper.xml

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

@ -277,8 +277,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
pm.publish_channels AS publishChannels,
COALESCE(COUNT(pm.publish_time), 0) AS number
FROM dc_publish_manage AS pm
where YEAR(pm.publish_time) = YEAR(CURDATE())
AND MONTH(pm.publish_time) = MONTH(#{publishTime})
where MONTH(pm.publish_time) = MONTH(#{publishTime})
AND pm.publish_time is not null
GROUP BY publishTime, pm.publish_channels
ORDER BY publishTime

Loading…
Cancel
Save