Browse Source

feat:xiugai

wangchuanjin 1 year ago
parent
commit
0164375cf3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/internal/service/owner.go

+ 1 - 1
api/internal/service/owner.go

@@ -679,7 +679,7 @@ func BuyerList(partyA, supplier, heterotophy, intermediary, agency string, posit
 	}
 	//中间人
 	if intermediary != "" {
-		intermediaryArr := CrmMysql.SelectBySql(`select b.relate_id as relate_id,b.relate_name as relate_name from crm.connection a inner join crm.connection_introduce b on (a.position_id=? and find_in_set(company_id,?) and a.id=b.connection_id and b.itype=1)`, positionId, intermediary)
+		intermediaryArr := CrmMysql.SelectBySql(`select b.relate_id as relate_id,b.relate_name as relate_name from crm.connection a inner join crm.connection_introduce b on (a.position_id=? and find_in_set(a.company_id,?) and a.id=b.connection_id and b.itype=1)`, positionId, intermediary)
 		if intermediaryArr != nil && len(*intermediaryArr) > 0 {
 			for _, m := range *intermediaryArr {
 				buyerId := gconv.String(m["relate_id"])