|
|
@@ -356,6 +356,7 @@
|
|
|
left join hlw_subcontractor hs on hs.id=hp.subcontractor_id
|
|
|
left join hlw_payment_invoice hpi on hpi.payment_id=hp.id
|
|
|
left join hlw_invoice hi on hi.id=a.invoice_id
|
|
|
+ left join hlw_cp_account_flow hcf on hcf.payment_id=hp.id and hcf.cp_id=hce.id and hcf.type=0
|
|
|
<where>
|
|
|
a.type=0
|
|
|
and hp.application_id=#{applicationId}
|