java110
2021-02-26 db55c4b35bc881286e8a1c4797127f63bb2f7499
java110-db/src/main/resources/mapper/report/ReportFeeYearCollectionDetailServiceDaoImplMapper.xml
@@ -47,7 +47,7 @@
        <if test="collectionId !=null and collectionId != ''">
            and t.collection_id= #{collectionId}
        </if>
        order by t.create_time desc
        order by t.collection_year
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
@@ -74,9 +74,7 @@
            , t.received_amount= #{receivedAmount}
        </if>
        <if test="collectionId !=null and collectionId != ''">
            , t.collection_id= #{collectionId}
        </if>
        where 1=1
        <if test="detailId !=null and detailId != ''">
            and t.detail_id= #{detailId}
@@ -84,6 +82,9 @@
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
        <if test="collectionId !=null and collectionId != ''">
            and t.collection_id= #{collectionId}
        </if>
    </update>