Browse Source

Merge branch 'CRM_15.5' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 9 months ago
parent
commit
8952333182
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/roadshow/company.go

+ 1 - 1
models/roadshow/company.go

@@ -39,7 +39,7 @@ func CompanySearchV2(sellerId int, keyWord string) (list []*CompanySearchView, e
 				company AS a
 			INNER JOIN company_product AS b ON a.company_id = b.company_id 
 			WHERE
-				b.status IN ('正式', '试用') AND (b.seller_id = ? OR b.share_seller_id = ?) AND a.company_name LIKE ?
+				b.status IN ('正式', '试用', '永续') AND (b.seller_id = ? OR b.share_seller_id = ?) AND a.company_name LIKE ?
 			GROUP BY
 				b.company_id`
 	_, err = o.Raw(sql, sellerId, sellerId, keyWord).QueryRows(&companies)