From 69f6a5c54eb608fb93d3a8638d4553ebed00f61d Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期五, 15 八月 2025 10:59:34 +0800
Subject: [PATCH] 修改

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

diff --git a/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml b/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
index 1516884..4c0c6a4 100644
--- a/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
@@ -55,7 +55,7 @@
         <result property="updateTime"    column="update_time"    />
         <result property="isCreate"    column="is_create"    />
         <result property="billId"    column="bill_id"    />
-        <result property="billId"    column="bill_name"    />
+        <result property="billName"    column="bill_name"    />
     </resultMap>
 
     <sql id="selectPendingSettlementBusinessVo">
@@ -272,6 +272,10 @@
     </select>
     <select id="selectCustomName" resultType="java.lang.String">
         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>
 
@@ -521,6 +525,11 @@
             #{item}
         </foreach>
     </update>
+    <update id="updatePendingSettlementBusinessByBillId">
+          UPDATE pending_settlement_business set bill_name = #{billName}
+          where bill_id = #{id}
+
+    </update>
 
     <!--鍒犻櫎-->
     <delete id="deletePendingSettlementBusinessById" parameterType="Integer">
@@ -532,5 +541,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