java110 3 years ago
parent
commit
8332ed2edd

+ 6 - 6
java110-db/src/main/resources/mapper/fee/FeeReceiptDetailServiceDaoImplMapper.xml

@@ -117,18 +117,12 @@
         <if test="feeName !=null and feeName != ''">
             , t.fee_name= #{feeName}
         </if>
-        <if test="detailId !=null and detailId != ''">
-            , t.detail_id= #{detailId}
-        </if>
         <if test="startTime !=null and startTime != ''">
             , t.start_time= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
             , t.end_time= #{endTime}
         </if>
-        <if test="communityId !=null and communityId != ''">
-            , t.community_id= #{communityId}
-        </if>
         <if test="feeId !=null and feeId != ''">
             , t.fee_id= #{feeId}
         </if>
@@ -139,6 +133,12 @@
         <if test="receiptId !=null and receiptId != ''">
             and t.receipt_id= #{receiptId}
         </if>
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
+        <if test="detailId !=null and detailId != ''">
+            and t.detail_id= #{detailId}
+        </if>
 
     </update>