From d7d9b601b2e4fdb663375993e2cfbdbd363df421 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期二, 11 七月 2023 22:17:37 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml
index fdfab51..0669fad 100644
--- a/java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml
@@ -101,13 +101,15 @@
 
     </update>
 
-    <!-- 鏌ヨ杞﹁締鏀粯鏁伴噺 add by wuxw 2018-07-03 -->
+    <!-- 鏌ヨ杞﹁締鏀粯鏁伴噺 add by wuxw 2018-07-03 杩欎袱涓敞閲� 閫熷害澶參
+            left join t_dict td on ci.state = td.status_cd and td.table_columns='state' and td.table_name = 'car_inout'
+        left join t_dict td1 on t.pay_type = td1.status_cd and td1.table_columns='pay_type' and td1.table_name = 'car_inout_payment'
+    -->
     <select id="queryCarInoutPaymentsCount" parameterType="Map" resultType="Map">
         select count(1) count
         from car_inout_payment t
         left join car_inout ci on t.inout_id = ci.inout_id and ci.status_cd = '0' and t.community_id = ci.community_id
-        left join t_dict td on ci.state = td.status_cd and td.table_columns='state' and td.table_name = 'car_inout'
-        left join t_dict td1 on t.pay_type = td1.status_cd and td1.table_columns='pay_type' and td1.table_name = 'car_inout_payment'
+
         where 1 =1
         <if test="realCharge !=null and realCharge != ''">
             and t.real_charge= #{realCharge}

--
Gitblit v1.8.0