src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml
@@ -112,7 +112,7 @@ )as a <where> <if test="month != null"> and a.month = date_format(#{month}) and a.month = #{month} </if> </where> @@ -143,4 +143,4 @@ # GROUP BY DATE_FORMAT(a.issue_date, '%Y-%m') </select> </mapper> </mapper>