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>
<if test="month != null and month != ''"> <if test="month != null and month != ''">
<![CDATA[ <![CDATA[AND DATE_FORMAT( sad.create_time, '%Y-%m' ) = #{month}]]>
AND DATE_FORMAT( sad.create_time, '%Y-%m' ) = DATE_FORMAT(#{month}, '%Y-%m')
]]>
</if> </if>
GROUP BY GROUP BY
sad.type_id, sad.type_id,