Browse Source

感知统计相关接口

develop
zhao-meiyu 10 months ago
parent
commit
865f44e91c
  1. 5
      zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml

5
zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml

@ -223,8 +223,9 @@
WHEN MONTH(create_time) BETWEEN 7 AND 9 THEN '第三季度' WHEN MONTH(create_time) BETWEEN 7 AND 9 THEN '第三季度'
ELSE '第四季度' ELSE '第四季度'
END AS QUARTER END AS QUARTER
from dc_warning where stake_mark_id=#{stakeMark} from dc_warning where stake_mark_id=#{stakeMark} and
AND direction=#{direction} YEAR(create_time) =DATE_FORMAT(#{createTime},'%Y')
AND direction=#{direction}
GROUP BY QUARTER GROUP BY QUARTER
ORDER BY QUARTER; ORDER BY QUARTER;
</select> </select>

Loading…
Cancel
Save