From 51137ccd0d1ced9e8803647746c33ab4bf993b37 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期六, 16 五月 2026 17:15:41 +0800
Subject: [PATCH] fix(productionBomStructure): 注释掉需求量相同时跳过更新的代码

---
 src/main/resources/mapper/sales/SalesQuotationMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/sales/SalesQuotationMapper.xml b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
index 1e358ca..3c93850 100644
--- a/src/main/resources/mapper/sales/SalesQuotationMapper.xml
+++ b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -9,6 +9,7 @@
         FROM sales_quotation t1
         LEFT JOIN approve_process t2 ON t1.quotation_no = t2.approve_reason and t2.approve_type = 6
         WHERE 1=1
+          and t2.approve_deleted = 0
         <if test="salesQuotationDto.quotationNo != null and salesQuotationDto.quotationNo != '' ">
             AND t1.quotation_no LIKE CONCAT('%',#{salesQuotationDto.quotationNo},'%')
         </if>
@@ -19,4 +20,4 @@
             AND t1.status = #{salesQuotationDto.status}
         </if>
     </select>
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3