From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能

---
 java110-db/src/main/resources/mapper/fee/ImportFeeServiceDaoImplMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/fee/ImportFeeServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/ImportFeeServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 2a67ca0..98abaf9
--- a/java110-db/src/main/resources/mapper/fee/ImportFeeServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/ImportFeeServiceDaoImplMapper.xml
@@ -8,9 +8,9 @@
     <!-- 淇濆瓨璐圭敤瀵煎叆淇℃伅 add by wuxw 2018-07-03 -->
     <insert id="saveImportFeeInfo" parameterType="Map">
         insert into import_fee(
-        fee_type_cd,import_fee_id,community_id
+        fee_type_cd,import_fee_id,community_id,remark
         ) values (
-        #{feeTypeCd},#{importFeeId},#{communityId}
+        #{feeTypeCd},#{importFeeId},#{communityId},#{remark}
         )
     </insert>
 
@@ -18,7 +18,7 @@
     <!-- 鏌ヨ璐圭敤瀵煎叆淇℃伅 add by wuxw 2018-07-03 -->
     <select id="getImportFeeInfo" parameterType="Map" resultType="Map">
         select t.fee_type_cd,t.fee_type_cd feeTypeCd,t.status_cd,t.status_cd statusCd,t.import_fee_id,t.import_fee_id
-        importFeeId,t.community_id,t.community_id communityId,t.create_time createTime,d.name feeTypeCdName
+        importFeeId,t.community_id,t.community_id communityId,t.create_time createTime,d.name feeTypeCdName,remark
         from import_fee t
         left join t_dict d on t.fee_type_cd = d.status_cd and d.table_name = 'pay_fee_config' and d.table_columns = 'fee_type_cd'
         where 1 =1
@@ -65,6 +65,7 @@
     <select id="queryImportFeesCount" parameterType="Map" resultType="Map">
         select count(1) count
         from import_fee t
+        left join t_dict d on t.fee_type_cd = d.status_cd and d.table_name = 'pay_fee_config' and d.table_columns = 'fee_type_cd'
         where 1 =1
         <if test="feeTypeCd !=null and feeTypeCd != ''">
             and t.fee_type_cd= #{feeTypeCd}

--
Gitblit v1.8.0