|
|
@@ -109,11 +109,11 @@
|
|
|
t.receivable_amount,t.receivable_amount receivableAmount,
|
|
|
t.cycles,t.remark,t.status_cd,t.status_cd statusCd,t.received_amount,t.received_amount receivedAmount,
|
|
|
t.community_id,t.community_id communityId,t.b_id,t.b_id bId,t.fee_id,t.fee_id feeId ,t.create_time createTime,
|
|
|
- t.state,d.name stateName,t.start_time,t.end_time,t.start_time startTime,t.end_time endTime
|
|
|
+ t.state,d.name stateName,t.start_time,t.end_time,t.start_time startTime,t.end_time endTime,pfa.`value` importFeeName,pfc.fee_name feeName
|
|
|
from pay_fee_detail t
|
|
|
- <if test="configId != null and configId != ''">
|
|
|
- inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
|
|
|
- </if>
|
|
|
+ left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
|
|
|
+ left join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
|
|
|
+ left join pay_fee_config pfc on pf.config_id = pfc.config_id and pfc.status_cd = '0'
|
|
|
<if test="ownerId != null and ownerId != ''">
|
|
|
left join pay_fee_attrs pfa on pfa.fee_id = t.fee_id and pfa.spec_cd = '390007' and pfa.status_cd = '0'
|
|
|
</if>
|