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, pm.publish_channels AS publishChannels,
COALESCE(COUNT(pm.publish_time), 0) AS number COALESCE(COUNT(pm.publish_time), 0) AS number
FROM dc_publish_manage AS pm FROM dc_publish_manage AS pm
where YEAR(pm.publish_time) = YEAR(CURDATE()) where MONTH(pm.publish_time) = MONTH(#{publishTime})
AND MONTH(pm.publish_time) = MONTH(#{publishTime})
AND pm.publish_time is not null AND pm.publish_time is not null
GROUP BY publishTime, pm.publish_channels GROUP BY publishTime, pm.publish_channels
ORDER BY publishTime ORDER BY publishTime

Loading…
Cancel
Save