From 390b4243dff25a50f1d3302228e7dd16e9c2f18a Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 14 五月 2025 17:56:24 +0800
Subject: [PATCH] 1.合同金额优化 2.来票台账

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

diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
new file mode 100644
index 0000000..f007228
--- /dev/null
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.purchase.mapper.PurchaseLedgerMapper">
+
+    <update id="updateContractAmountById">
+        UPDATE purchase_ledger
+        SET contract_amount = #{totalTaxInclusiveAmount}
+        WHERE id = #{id}
+    </update>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3