|
|
@@ -507,13 +507,13 @@
|
|
|
ipiis.invoice_id as invoiceId,
|
|
|
io.company_id,
|
|
|
io.company_name,
|
|
|
- ipii.invoice_type as invoiceType,
|
|
|
- ipii.invoice_party as invoiceParty,
|
|
|
- ipii.tax_point as taxPoint,
|
|
|
- ipiis.actual_received_amount as actualReceivedAmount,
|
|
|
- ipiis.receive_payment_date as receivePaymentDate,
|
|
|
- ipiis.create_by as createBy,
|
|
|
- ipiis.create_time as createTime
|
|
|
+ ipii.invoice_type,
|
|
|
+ ipii.invoice_party,
|
|
|
+ ipii.tax_point,
|
|
|
+ ipiis.actual_received_amount,
|
|
|
+ ipiis.receive_payment_date,
|
|
|
+ ipiis.create_by ,
|
|
|
+ ipiis.create_time
|
|
|
FROM
|
|
|
ins_ply_income_invoice_settlement ipiis
|
|
|
LEFT JOIN ins_ply_income_invoice ipii ON ipii.id = ipiis.invoice_id
|
|
|
@@ -568,6 +568,7 @@
|
|
|
<if test="settlementQueryVo.settlementId != null and settlementQueryVo.settlementId != ''">
|
|
|
AND ipiis.id = #{settlementQueryVo.settlementId}
|
|
|
</if>
|
|
|
+ order by ipiis.create_time desc
|
|
|
</select>
|
|
|
|
|
|
<!-- <select id="getSuperviseSettlementExcelDtos" resultType="com.jzg.commons.entity.finance.dto.ExportSuperviseSettlementExcelDto">-->
|