From ccb4e9b8011d26b77dc6b9888ad21f7c8e921654 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期五, 01 八月 2025 10:43:51 +0800 Subject: [PATCH] yys 修改生产模块bug --- 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