ziwen 2 years ago
parent
commit
6c922edc93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

@@ -57,7 +57,7 @@ func (rg *RegisterController) List(c *gin.Context) {
 	// 合同编号/客户姓名/销售/代付方
 	if req.Keyword != "" {
 		kw := "%" + req.Keyword + "%"
-		cond += ` AND (company_name LIKE ? OR contract_code LIKE ? OR seller_name LIKE ? OR rai_seller_name LIKE ? OR actual_company_name LIKE ?)`
+		cond += ` AND (company_name LIKE ? OR contract_code LIKE ? OR seller_name LIKE ? OR rai_seller_name LIKE ? OR actual_pay_companies LIKE ?)`
 		pars = append(pars, kw, kw, kw, kw, kw)
 	}
 	if req.StartDate != "" && req.EndDate != "" {