| | |
| | | |
| | | </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 |