From 64bce2eb858b95e7851b6c05fa34938dbfb701e6 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 30 五月 2024 16:49:13 +0800
Subject: [PATCH] 修改因算税时间一税,导致获取历史数据不准的问题(加上xh字段) 个税汇总里的功能,删除时一个fund时,将相应的fund的“算税时间” 和"funddetail"表里的“算税时间”、“序号”置空

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

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml
index 523a384..81e4056 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml
@@ -62,6 +62,10 @@
         <result property="donorrelatives" column="donorrelatives"/>
         <result property="zffs" column="zffs"/>
         <result property="riqi" column="riqi"/>
+        <result property="bh" column="bh"/>
+        <result property="checkstatus" column="checkstatus"/>
+        <result property="performancetype" column="performancetype"/>
+        <result property="applyTime" column="apply_time"/>
     </resultMap>
 
     <sql id="selectServiceReimbursementSharedVo">
@@ -121,7 +125,11 @@
                donoramount,
                donorrelatives,
                zffs,
-               riqi
+               riqi,
+               bh,
+               checkstatus,
+               apply_time,
+               performancetype
         from service_reimbursement_shared
     </sql>
 
@@ -131,7 +139,8 @@
         where reimid = #{RemId} and del_flag!=1
     </select>
 
-    <select id="selectServiceReimbursementSharedList" parameterType="com.ruoyi.project.domain.ServiceReimbursementShared"
+    <select id="selectServiceReimbursementSharedList"
+            parameterType="com.ruoyi.project.domain.ServiceReimbursementShared"
             resultMap="ServiceReimbursementSharedResult">
         <include refid="selectServiceReimbursementSharedVo"/>
         <where>
@@ -191,7 +200,8 @@
 
     <update id="delResharedInfoById">
         UPDATE service_reimbursement_shared
-        SET del_flag = 1
+        SET del_flag   = 1,
+            update_time = sysdate()
         WHERE id = #{id}
           and del_flag != 1
     </update>

--
Gitblit v1.9.3