|
@@ -844,7 +844,7 @@ func (ct *InvoicePaymentController) List(c *gin.Context) {
|
|
|
|
|
|
amountCond := `a.id IN ? AND (a.invoice_id <> 0 OR (a.payment_id <> 0 AND a.invoice_id =0))`
|
|
|
amountPars := make([]interface{}, 0)
|
|
|
- amountPars = append(amountTotalPars, summaryIds)
|
|
|
+ amountPars = append(amountPars, summaryIds)
|
|
|
amountSum, e := fms.GetContractSummaryInvoicePaymentAmount(amountCond, amountPars)
|
|
|
if e != nil {
|
|
|
totalErr = fmt.Errorf("获取汇总金额合计失败, Err: %s", e.Error())
|