@@ -156,7 +156,7 @@
</if>
<if test="date == null">
and t5.start_month < DATE_FORMAT(CURRENT_DATE (), '%Y-%m-01')
- AND MONTH ( t1.work_month ) <MONTH(CURRENT_DATE ())
+ AND t1.work_month < DATE_FORMAT(CURRENT_DATE(), '%Y-%m-01')
<if test="date != null">
AND t1.work_month = #{date}