瀏覽代碼

Merge branch 'yx_1.1' into debug

zwxi 1 年之前
父節點
當前提交
ed60fc7739
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/company.go

+ 1 - 1
models/company.go

@@ -202,7 +202,7 @@ func GetCompanyDetailAllById(companyId int) (item *CompanyDetail, err error) {
 
 // 获取对应销售以及销售的手机号
 func GetSellerDetailAllByCompanyId(companyId int) (item *CompanyDetail, err error) {
-	sql := ` SELECT c.mobile ,c.real_name as seller_name
+	sql := ` SELECT c.mobile ,c.real_name as seller_name, a.company_name 
 			FROM
 			company AS a
 			INNER JOIN company_product AS b ON a.company_id = b.company_id