|
@@ -203,7 +203,7 @@ func (ct *InvoicePaymentController) List(c *gin.Context) {
|
|
|
amountTotalCond := `contract_register_id IN ?`
|
|
|
amountTotalPars := make([]interface{}, 0)
|
|
|
amountTotalPars = append(amountTotalPars, allRegisterIds)
|
|
|
- amountTotalList, e := fms.GetContractInvoiceAmountTotal(cond, pars)
|
|
|
+ amountTotalList, e := fms.GetContractInvoiceAmountTotal(amountTotalCond, amountTotalPars)
|
|
|
if e != nil {
|
|
|
resp.FailMsg("获取失败", "获取开票到款金额合计失败, Err:"+e.Error(), c)
|
|
|
return
|