From 366b67926809852c1090f14c5a24fe00109a81b5 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期一, 28 七月 2025 17:59:52 +0800
Subject: [PATCH] yys  首页接口开发

---
 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