|
|
@@ -60,6 +60,8 @@
|
|
|
<result column="cp_id" property="cpId"/>
|
|
|
<result column="receivable_residue" property="receivableResidue"/>
|
|
|
<result column="receipt_residue" property="receiptResidue"/>
|
|
|
+ <result column="payable_residue" property="payableResidue"/>
|
|
|
+ <result column="payment_residue" property="paymentResidue"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 通用条件列 -->
|
|
|
@@ -405,13 +407,16 @@
|
|
|
makestaff.staff_name as "makeStaffName",
|
|
|
t.make_time,
|
|
|
t.flg_valid,
|
|
|
- t.cp_id
|
|
|
+ t.cp_id,
|
|
|
+ tma.payable_residue,
|
|
|
+ tma.payment_residue
|
|
|
from dkic_b.t_mac_rec_pay as t
|
|
|
Left join dkic_b.t_mst_supplier tmp on tmp.sup_id = t.object_id
|
|
|
left join sys.t_data_kind as tdk1 on tdk1.kind_code = t.rp_type
|
|
|
left join dkic_b.t_mst_org tmo on tmo.org_id = t.org_id
|
|
|
left join dkic_b.t_mst_staff tms on tms.staff_id = t.staff_id
|
|
|
left join dkic_b.t_mst_staff as makestaff on makestaff.staff_id = t.make_staff
|
|
|
+ LEFT JOIN dkic_b.t_mac_account tma on tma.object_id = t.object_id and tma.object_type in ('对象类型-供应商')
|
|
|
where t.rp_type in ('收付款类型-付款', '收付款类型-退付款')
|
|
|
<include refid="Condition"/>
|
|
|
<if test="searchText !=null and searchText != ''">
|