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