|
@@ -1052,7 +1052,7 @@ func (n *network) Introduce_Supplier(values []string, businessType []string) map
|
|
|
repeat := map[string]bool{}
|
|
|
whRepeat := map[string]map[string]bool{}
|
|
|
buyers := []string{}
|
|
|
- q := `select winner_id,buyer_id,buyer from information.transaction_info_all where hasAny(winner_id,[` + wh + `])`
|
|
|
+ q := `select winner_id,buyer_id,buyer from information.transaction_info_all where hasAny(winner_id,[` + wh + `]) and buyer_id<>''`
|
|
|
rows, err := ClickhouseConn.Query(context.Background(), q, args...)
|
|
|
if err != nil {
|
|
|
logx.Error(err)
|
|
@@ -1101,7 +1101,7 @@ func (n *network) Introduce_Agency(values []string, businessType []string) map[s
|
|
|
return map[string]*projectInfo{}
|
|
|
}
|
|
|
wh, args := WhArgs(values)
|
|
|
- q := `select DISTINCT agency_id,buyer_id,buyer from information.transaction_info_all where agency_id in (` + wh + `)`
|
|
|
+ q := `select DISTINCT agency_id,buyer_id,buyer from information.transaction_info_all where agency_id in (` + wh + `) and buyer_id<>''`
|
|
|
rows, err := ClickhouseConn.Query(context.Background(), q, args...)
|
|
|
if err != nil {
|
|
|
logx.Error(err)
|