From efd19d385d177bfcc8d9747148ae2357e9f6aedc Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 14 七月 2025 16:19:27 +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 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