From 254a2998c07916de66c464928bbb1beeacfe72d6 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期五, 15 八月 2025 10:50:27 +0800
Subject: [PATCH] 新增移除

---
 service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml b/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
index 704608f..7d18ae6 100644
--- a/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
@@ -274,6 +274,10 @@
         SELECT customer_name from pending_settlement_business group by customer_name
 
     </select>
+    <select id="selectPendingSettlementBusinessDispatchNos" resultType="java.lang.String">
+        SELECT dispatch_no from pending_settlement_business where  bill_id =    #{id}
+
+    </select>
 
     <!-- 鏂板 -->
     <insert id="insertPendingSettlementBusiness" parameterType="com.ruoyi.cwgl.domain.PendingSettlementBusiness"  useGeneratedKeys="true" keyProperty="id">
@@ -532,5 +536,9 @@
             #{id}
         </foreach>
     </delete>
+    <delete id="cancelRelevancy">
+         UPDATE pending_settlement_business set bill_id = null ,bill_name = null
+         where id = #{id}
+    </delete>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0