| | |
| | | |
| | | <!-- 查询预存账户--> |
| | | <select id="getPrestoreAccount" parameterType="Map" resultType="Map"> |
| | | select ifnull(SUM(t.discount_amount),0.0) prestoreAccount lateFee |
| | | select ifnull(SUM(t.discount_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 |
| | |
| | | |
| | | <!-- 查询账户扣款--> |
| | | <select id="getWithholdAccount" parameterType="Map" resultType="Map"> |
| | | select ifnull(SUM(t.discount_amount),0.0) withholdAccount lateFee |
| | | select ifnull(SUM(t.discount_amount),0.0) lateFee |
| | | from account_detail t |
| | | INNER JOIN account ac on t.acct_id = ac.acct_id and ac.status_cd = '0' |
| | | where 1=1 |