|
|
@@ -533,7 +533,6 @@
|
|
|
ipii.invoice_type,
|
|
|
ipii.invoice_party,
|
|
|
ipii.tax_point,
|
|
|
- ipi.order_no as orderNo,
|
|
|
ipiis.actual_received_amount,
|
|
|
ipii.receivable_supervise_premium,
|
|
|
ipiis.receive_payment_date,
|
|
|
@@ -591,6 +590,19 @@
|
|
|
AND ipiis.create_time <= date(#{settlementQueryVo.settlementDateEndStr})
|
|
|
</if>
|
|
|
</where>
|
|
|
+ group by
|
|
|
+ ipiis.id ,
|
|
|
+ ipiis.invoice_id,
|
|
|
+ io.company_id,
|
|
|
+ io.company_name,
|
|
|
+ ipii.invoice_type,
|
|
|
+ ipii.invoice_party,
|
|
|
+ ipii.tax_point,
|
|
|
+ ipiis.actual_received_amount,
|
|
|
+ ipii.receivable_supervise_premium,
|
|
|
+ ipiis.receive_payment_date,
|
|
|
+ ipiis.create_by ,
|
|
|
+ ipiis.create_time
|
|
|
order by ipiis.create_time desc
|
|
|
</select>
|
|
|
|