main
杜函宇 3 months ago
parent 03eb1e9ad7
commit 3933bf4cfa

@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM FROM
tc_qlzxxdsjtj tc_qlzxxdsjtj
WHERE WHERE
date_time >= DATE_SUB( CURDATE(), INTERVAL 6 MONTH ) date_time >= DATE_SUB( DATE_FORMAT( CURDATE(), '%Y-%m-01' ), INTERVAL 6 MONTH )
AND date_time < DATE_FORMAT( CURDATE(), '%Y-%m-01' ) AND date_time < DATE_FORMAT( CURDATE(), '%Y-%m-01' )
GROUP BY GROUP BY
dateTime dateTime

Loading…
Cancel
Save