|
@ -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> |
|
|