hsun 2 년 전
부모
커밋
b64ea97c37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controller/census/invoice_payment.go

+ 1 - 1
controller/census/invoice_payment.go

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