From 337da4d0752ddbdad2611da1ba7d904e80755744 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期六, 06 四月 2024 00:14:52 +0800
Subject: [PATCH] 优化修改费用项代码

---
 java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml
index c548c36..8719c11 100755
--- a/java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml
@@ -142,7 +142,7 @@
         t.payment_cd,t.payment_cycle,t.payment_cd paymentCd,t.payment_cycle paymentCycle,
         t.computing_formula_text,t.computing_formula_text computingFormulaText,t.deduct_from,t.deduct_from
         deductFrom,td4.name computingFormulaName,t.pay_online payOnline,t.scale,t.decimal_place decimalPlace,t.units,
-        t.prepayment_period,t.prepayment_period prepaymentPeriod
+        t.prepayment_period,t.prepayment_period prepaymentPeriod,t.state
         from pay_fee_config t
         left join t_dict td1 on t.fee_type_cd = td1.status_cd and td1.table_name = 'pay_fee_config' and
         td1.table_columns = 'fee_type_cd'
@@ -217,6 +217,9 @@
         <if test="prepaymentPeriod !=null and prepaymentPeriod != ''">
             and t.prepayment_period = #{prepaymentPeriod}
         </if>
+        <if test="state !=null and state != ''">
+            and t.state = #{state}
+        </if>
         order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
@@ -276,6 +279,9 @@
         </if>
         <if test="prepaymentPeriod !=null and prepaymentPeriod != ''">
             , t.prepayment_period = #{prepaymentPeriod}
+        </if>
+        <if test="state !=null and state != ''">
+            , t.state = #{state}
         </if>
         where 1=1
         <if test="configId !=null and configId != ''">
@@ -356,6 +362,9 @@
         <if test="prepaymentPeriod !=null and prepaymentPeriod != ''">
             and t.prepayment_period = #{prepaymentPeriod}
         </if>
+        <if test="state !=null and state != ''">
+            and t.state = #{state}
+        </if>
     </select>
 
     <!-- 淇濆瓨璐圭敤閰嶇疆淇℃伅 add by wuxw 2018-07-03 -->
@@ -364,10 +373,10 @@
                                    is_default, config_id, fee_flag, fee_name,
                                    start_time, end_time, community_id, b_id, bill_type, payment_cd, payment_cycle,
                                    computing_formula_text, deduct_from, pay_online, scale, decimal_place, units,
-                                   prepayment_period)
+                                   prepayment_period,state)
         values (#{feeTypeCd}, #{computingFormula}, #{additionalAmount}, '0', #{squarePrice}, #{isDefault}, #{configId},
                 #{feeFlag}, #{feeName}, #{startTime}, #{endTime}, #{communityId}, '-1', #{billType}, #{paymentCd},
                 #{paymentCycle}, #{computingFormulaText}, #{deductFrom}, #{payOnline}, #{scale}, #{decimalPlace},
-                #{units}, #{prepaymentPeriod})
+                #{units}, #{prepaymentPeriod},#{state})
     </insert>
 </mapper>

--
Gitblit v1.8.0