Pārlūkot izejas kodu

优化费用改成0 问题

java110 5 gadi atpakaļ
vecāks
revīzija
66e3107cd6

+ 2 - 2
java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml

@@ -211,10 +211,10 @@
         <if test="computingFormula !=null and computingFormula != ''">
             , t.computing_formula= #{computingFormula}
         </if>
-        <if test="additionalAmount !=null and additionalAmount != ''">
+        <if test="additionalAmount !=null and additionalAmount != '' or additionalAmount == 0">
             , t.additional_amount= #{additionalAmount}
         </if>
-        <if test="squarePrice !=null and squarePrice != ''">
+        <if test="squarePrice !=null and squarePrice != '' or squarePrice == 0">
             , t.square_price= #{squarePrice}
         </if>
         <if test="paymentCd !=null and paymentCd != ''">