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/ServiceDonatebaseinfoMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
index 4f0776f..06d5f08 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
@@ -206,8 +206,8 @@
             <if test="infoname != null ">and infoName = #{infoname}</if>
             <if test="infophone != null ">and infoPhone = #{infophone}</if>
             <if test="createBy != null ">and `service_donatebaseinfo`.create_by = #{createBy}</if>
-            <if test="starttime != null ">and ReportTime >= #{starttime}</if>
-            <if test="endtime != null ">and ReportTime &lt;= #{endtime}</if>
+            <if test="starttime != null ">and donatetime >= #{starttime}</if>
+            <if test="endtime != null ">and donatetime &lt;= #{endtime}</if>
             <if test="nativeplace != null  and nativeplace != ''">and NativePlace = #{nativeplace}</if>
             <if test="city != null and city != ''">and `base_organization`.`City` = #{city}</if>
             <if test="deptid != null ">and deptid = #{deptid}</if>
@@ -389,4 +389,4 @@
           AND d.OrganGetTime &lt;= #{endtime}
     </select>
 
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3