From f80eee649f269eb61f15c7d0d2e282146eaaf9ef Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 01 六月 2026 14:01:18 +0800
Subject: [PATCH] feat(home): 新增上月销售采购金额统计功能
---
src/main/resources/mapper/sales/SalesQuotationMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/sales/SalesQuotationMapper.xml b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
index 8036e2f..b09c7d3 100644
--- a/src/main/resources/mapper/sales/SalesQuotationMapper.xml
+++ b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -16,6 +16,10 @@
<if test="salesQuotationDto.status != null and salesQuotationDto.status != '' ">
AND t1.status = #{salesQuotationDto.status}
</if>
+ <if test="salesQuotationDto.id != null">
+ AND t1.id = #{salesQuotationDto.id}
+ </if>
</where>
+ order by t1.id desc
</select>
</mapper>
--
Gitblit v1.9.3