From baf6391dc02bd535e1a29ab9536cc477360be233 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期二, 21 十月 2025 17:37:01 +0800
Subject: [PATCH] 新增每日车辆数
---
service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml b/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
index 7510e95..ad20c35 100644
--- a/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/PendingSettlementBusinessMapper.xml
@@ -532,7 +532,7 @@
</foreach>
</update>
<update id="updeteCwData">
- update pending_settlement_business set IS_SYNC = 1
+ update tms_shipment set IS_SYNC = 1
where ID in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
@@ -540,9 +540,12 @@
</update>
<update id="updatePendingSettlementBusinessIsCreate">
-
UPDATE pending_settlement_business
- SET is_create = 1 ,bill_id = #{id},bill_name = #{billName},related_bill_status = 1
+ SET
+ is_create = 1,
+ bill_id = #{id},
+ bill_name = #{billName},
+ related_bill_status = 1
WHERE dispatch_no IN
<foreach item="item" collection="list" open="(" separator="," close=")">
#{item}
@@ -554,18 +557,12 @@
SET
p.bill_name = #{billName},
e.related_bill_name = #{billName}
- WHERE p.bill_id = #{id};
+ WHERE p.bill_id = #{id}
</update>
<update id="updateEstimatedReceivableBillStatus">
- UPDATE pending_settlement_business p
- JOIN estimated_receivable e ON p.dispatch_no = e.dispatch_no
- SET
- p.is_create = 1,
- p.bill_id = #{id},
- p.bill_name = #{billName},
- p.related_bill_status = 1,
- e.related_bill_name = #{billName}
- WHERE p.dispatch_no IN
+ UPDATE pending_settlement_business
+ SET related_bill_status = #{status}
+ WHERE dispatch_no IN
<foreach item="item" collection="list" open="(" separator="," close=")">
#{item}
</foreach>
--
Gitblit v1.8.0