From de0bf07d8497ec97750de8adabd6a30146fe9557 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 01 七月 2026 11:32:26 +0800
Subject: [PATCH] fix:1.发货审批不通过时,对应的发货车牌应不展示2.审批模版被其他审批引用时,不能进行编辑或删除操作

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

diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index e11ad20..60d6f4a 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -6,7 +6,8 @@
 
     <update id="updateContractAmountById">
         UPDATE purchase_ledger
-        SET contract_amount = #{totalTaxInclusiveAmount}
+        SET contract_amount = #{totalTaxInclusiveAmount},
+            net_contract_amount = #{totalTaxInclusiveAmount}
         WHERE id = #{id}
     </update>
     <select id="selectPurchaseStats" resultType="com.ruoyi.home.dto.IncomeExpenseAnalysisDto">

--
Gitblit v1.9.3