|
|
|
@ -18,8 +18,8 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getaction" resultType="com.ruoyi.screen.domain.response.ZongzhiActionResponse">
|
|
|
|
|
select sum(count) as count, month_year as zhuanxiangTime ,type
|
|
|
|
|
from tc_qlzxxdsj WHERE NOW() >= DATE_SUB(CURDATE(), INTERVAL 11 MONTH)
|
|
|
|
|
GROUP BY type, month_year
|
|
|
|
|
from tc_qlzxxdsj WHERE NOW() >= DATE_SUB(CURDATE(), INTERVAL 11 MONTH) AND month_year <=NOW()
|
|
|
|
|
GROUP BY type, month_year ;
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getReportByYear" resultType="com.ruoyi.screen.domain.response.ZongzhiReportByYearResponse">
|
|
|
|
|
SELECT count(*)as count,source,DATE_FORMAT(NOW(), '%Y') as year
|
|
|
|
|