瀏覽代碼

Merge branch 'fms_2.7' into debug

ziwen 1 年之前
父節點
當前提交
914cf12cd3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/census/invoice_payment.go

+ 1 - 1
controller/census/invoice_payment.go

@@ -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())