This commit is contained in:
parent
5754e50bd2
commit
0b4a17e009
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue