java110
2021-08-05 87b25901ef5c2ae19e5e991b9762388b7742425c
java110-db/src/main/resources/mapper/fee/FeeManualCollectionDetailServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -141,5 +141,17 @@
    </select>
    <select id="queryFeeManualCollectionDetailTotalFee" parameterType="Map" resultType="Map">
        select sum(t.amount) totalFee
        from fee_manual_collection_detail t
        where 1 =1
        <if test="collectionId !=null and collectionId != ''">
            and t.collection_id= #{collectionId}
        </if>
        <if test="feeId !=null and feeId != ''">
            and t.fee_id= #{feeId}
        </if>
    </select>
</mapper>