From bdfacb1f5341050014c7fe4c79672613894f6abd Mon Sep 17 00:00:00 2001
From: shiyj1101 <1098226878@qq.com>
Date: 星期二, 29 六月 2021 11:31:20 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml
index 8279baf..e58388f 100644
--- a/java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml
@@ -87,9 +87,6 @@
     <update id="updateReportOweFeeInfo" parameterType="Map">
         update report_owe_fee t
         <set>
-            <if test="newBId != null and newBId != ''">
-                t.b_id = #{newBId},
-            </if>
             <if test="configName !=null and configName != ''">
                  t.config_name= #{configName},
             </if>
@@ -126,9 +123,7 @@
             <if test="endTime !=null and endTime != ''">
                  t.end_time= #{endTime},
             </if>
-            <if test="communityId !=null and communityId != ''">
-                 t.community_id= #{communityId},
-            </if>
+
             <if test="payerObjType !=null and payerObjType != ''">
                  t.payer_obj_type= #{payerObjType},
             </if>
@@ -138,7 +133,25 @@
         </set>
         where 1=1
             and t.owe_id= #{oweId}
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
+    </update>
 
+
+    <!-- 淇敼娆犺垂缁熻淇℃伅 add by wuxw 2018-07-03 -->
+    <update id="deleteReportOweFeeInfo" parameterType="Map">
+        delete from report_owe_fee
+        where 1=1
+        <if test="oweId !=null and oweId != ''">
+            and owe_id= #{oweId}
+        </if>
+        <if test="feeId !=null and feeId != ''">
+            and fee_id = #{feeId}
+        </if>
+        <if test="communityId !=null and communityId != ''">
+            and community_id= #{communityId}
+        </if>
     </update>
 
     <!-- 鏌ヨ娆犺垂缁熻鏁伴噺 add by wuxw 2018-07-03 -->

--
Gitblit v1.8.0