|
|
@@ -324,12 +324,14 @@
|
|
|
<select id="queryHisFees" parameterType="Map" resultType="Map">
|
|
|
select t.operate,t.start_time startTime,t.end_time endTime,t.create_time createTime,pfc.fee_name feeName,
|
|
|
t.amount,
|
|
|
- uu.`name` userName
|
|
|
+ uu.`name` userName,pfa.`value` payerObjName,pfa1.value ownerName
|
|
|
from business_pay_fee t
|
|
|
left join pay_fee_config pfc on t.config_id = pfc.config_id
|
|
|
left join c_business cb on t.b_id = cb.b_id
|
|
|
left join c_orders co on cb.o_id = co.o_id
|
|
|
left join u_user uu on co.user_id = uu.user_id
|
|
|
+ left join pay_fee_attrs pfa on pfa.fee_id = t.fee_id and pfa.spec_cd = '390012'
|
|
|
+ left join pay_fee_attrs pfa1 on pfa1.fee_id = t.fee_id and pfa1.spec_cd = '390008'
|
|
|
<if test="deleteFlag != null and deleteFlag != ''">
|
|
|
inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '1' and pf.b_id = t.b_id
|
|
|
</if>
|