main
杜函宇 1 month ago
parent 03eb1e9ad7
commit 3933bf4cfa

@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM
tc_qlzxxdsjtj
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' )
GROUP BY
dateTime

Loading…
Cancel
Save