From b1f41c066b0b7c38faffddbfe73b9be8d0bd508e Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期日, 08 十一月 2026 23:42:09 +0800
Subject: [PATCH] 修改了增值税城建税

---
 ruoyi-project/src/main/resources/mapper/project/ServiceFundtaxMapper.xml |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceFundtaxMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceFundtaxMapper.xml
index b607e20..2b057b0 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceFundtaxMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceFundtaxMapper.xml
@@ -15,6 +15,10 @@
         <result property="managerno" column="ManagerNo"/>
         <result property="managername" column="ManagerName"/>
         <result property="pretaxamount" column="Pretaxamount"/>
+        <result property="vatAmount" column="vat_amount"/>
+        <result property="cityTaxAmount" column="city_tax_amount"/>
+        <result property="laborPretaxAmount" column="labor_pretax_amount"/>
+        <result property="taxVersion" column="tax_version"/>
         <result property="taxedamount" column="TaxedAmount"/>
         <result property="taxamount" column="TaxAmount"/>
         <result property="medicalcost" column="MedicalCost"/>
@@ -60,6 +64,10 @@
                Pretaxamount,
                TaxedAmount,
                TaxAmount,
+               vat_amount,
+               city_tax_amount,
+               labor_pretax_amount,
+               tax_version,
                MedicalCost,
                BodyMaintainCost,
                OrganGainCost,
@@ -139,8 +147,14 @@
 
     <select id="getMaxFundTaxId" resultType="integer">
         select max(id) maxid
-        from service_fund
+        from service_fundtax
         where del_flag = 0;
     </select>
 
+    <select id="selectByIdForUpdate" resultMap="ServiceFundtaxResult">
+        <include refid="selectServiceFundtaxVo"/>
+        where ID = #{id}
+        for update
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3