From 118afd697fe3197236dcf0ffd6cfd39bcec2d85f Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 14 七月 2025 13:37:57 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml b/src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml index 3d91391..0b29502 100644 --- a/src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml +++ b/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> \ No newline at end of file +</mapper> -- Gitblit v1.9.3