|
|
@ -260,7 +260,7 @@ |
|
|
|
where vehicleSid = #{vinSid} |
|
|
|
and contractNo = #{contractNo} |
|
|
|
</select> |
|
|
|
<select id="getFinSelectInvoiceVoListByVinNo" |
|
|
|
<select id="getFinSelectInvoiceVoListByBusVinSid" |
|
|
|
resultType="com.yxt.anrui.fin.api.finvehicleinvoice.FinSelectInvoiceVo"> |
|
|
|
select fu.busVinSid, |
|
|
|
fu.receivablesName, |
|
|
@ -275,7 +275,8 @@ |
|
|
|
FROM fin_selected_receivables_detailed as fs |
|
|
|
LEFT JOIN fin_uncollected_receivables_detailed as fu ON fu.sid = fs.receivablesSid |
|
|
|
LEFT JOIN fin_collection_confirmation as co ON fs.collSid = co.sid |
|
|
|
WHERE fs.VIN = #{vinNo} |
|
|
|
WHERE fu.busVinSid = #{busVinSid} |
|
|
|
and fS.contractNo = #{contractNo} |
|
|
|
and fs.auditState = '3' |
|
|
|
ORDER BY co.createTime DESC |
|
|
|
</select> |
|
|
|