소스 검색

优化费用改成0 问题

java110 6 년 전
부모
커밋
66e3107cd6
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml

+ 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 != ''">