From ba13360eab05988a902ddb3196b5ffda55d7fd1c Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 14 七月 2025 13:37:42 +0800
Subject: [PATCH] 增值税比对--筛选日期展示记录不符
---
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 fe0b44c..731b5c5 100644
--- a/src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml
+++ b/src/main/resources/mapper/purchase/InvoicePurchaseMapper.xml
@@ -109,7 +109,7 @@
)as a
<where>
<if test="month != null">
- and a.month = date_format(#{month})
+ and a.month = #{month}
</if>
</where>
@@ -140,4 +140,4 @@
# GROUP BY DATE_FORMAT(a.issue_date, '%Y-%m')
</select>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3