wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/report/ReportFeeYearCollectionServiceDaoImplMapper.xml
@@ -178,6 +178,21 @@
    </update>
    <update id="deleteReportFeeYearCollectionInfo" parameterType="Map">
        update report_fee_year_collection t set t.status_cd = '1'
        where 1=1
        <if test="feeId !=null and feeId != ''">
            and t.fee_id= #{feeId}
        </if>
        <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>
    <!-- 查询费用年收费数量 add by wuxw 2018-07-03 -->
    <select id="queryReportFeeYearCollectionsCount" parameterType="Map" resultType="Map">
        select count(DISTINCT t.collection_id) count