|
|
@ -17,9 +17,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="getaction" resultType="com.ruoyi.screen.domain.response.ZongzhiActionResponse">
|
|
|
|
<select id="getaction" resultType="com.ruoyi.screen.domain.response.ZongzhiActionResponse">
|
|
|
|
select count(*) as count, month_year as zhuanxiangTime ,type
|
|
|
|
select sum(count) as count, month_year as zhuanxiangTime ,type
|
|
|
|
from tc_qlzxxdsj WHERE NOW() >= DATE_SUB(DATE_SUB(month_year, INTERVAL 6 MONTH), INTERVAL 1 YEAR)
|
|
|
|
from tc_qlzxxdsj WHERE NOW() >= DATE_SUB(DATE_SUB(month_year, INTERVAL 6 MONTH), INTERVAL 1 YEAR)
|
|
|
|
or NOW() <= DATE_SUB(month_year, INTERVAL 6 MONTH)
|
|
|
|
or NOW() <= DATE_SUB(month_year, INTERVAL 6 MONTH) and type is not null
|
|
|
|
GROUP BY type, month_year
|
|
|
|
GROUP BY type, month_year
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|