This commit is contained in:
mashuai 2025-07-02 17:08:51 +08:00
parent 5754e50bd2
commit 0b4a17e009
1 changed files with 1 additions and 3 deletions

View File

@ -412,9 +412,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</if>
<if test="month != null and month != ''">
<![CDATA[
AND DATE_FORMAT( sad.create_time, '%Y-%m' ) = DATE_FORMAT(#{month}, '%Y-%m')
]]>
<![CDATA[AND DATE_FORMAT( sad.create_time, '%Y-%m' ) = #{month}]]>
</if>
GROUP BY
sad.type_id,