java110
2023-05-30 0b3ff378a9faaf9d7a4831b7f0de67378fe0dfea
java110-db/src/main/resources/mapper/report/ReportFeeStatisticsServiceDaoImplMapper.xml
@@ -821,7 +821,7 @@
    <!-- 查询预存账户-->
    <select id="getPrestoreAccount" parameterType="Map" resultType="Map">
        select ifnull(SUM(t.discount_amount),0.0) prestoreAccount lateFee
        select ifnull(SUM(t.amount),0.0) prestoreAccount
        from account_detail t
        INNER JOIN account ac on t.acct_id = ac.acct_id and ac.status_cd = '0'
        where 1=1
@@ -835,7 +835,7 @@
    <!-- 查询账户扣款-->
    <select id="getWithholdAccount" parameterType="Map" resultType="Map">
        select ifnull(SUM(t.discount_amount),0.0) withholdAccount lateFee
        select ifnull(SUM(t.amount),0.0) withholdAccount
        from account_detail t
        INNER JOIN account ac on t.acct_id = ac.acct_id and ac.status_cd = '0'
        where 1=1
@@ -852,7 +852,7 @@
        select ifnull(sum(t.pay_charge),0.0) tempCarFee
        from car_inout_payment t
        where 1=1
        and ac.part_id= #{communityId}
        and t.community_id = #{communityId}
        and t.create_time &gt; #{startDate}
        and t.create_time &lt; #{endDate}
        and t.status_cd = '0'