소스 검색

优化代码

java110 4 년 전
부모
커밋
4be1abb15a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml

+ 3 - 0
java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml

@@ -79,6 +79,9 @@
         <if test="feePrice !=null and feePrice != ''">
             , t.fee_price= #{feePrice}
         </if>
+        <if test="feePrice == '0'">
+            , t.fee_price= #{feePrice}
+        </if>
         <if test="address !=null and address != ''">
             , t.address= #{address}
         </if>