|
@@ -993,7 +993,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 + `]) and project_bidstatus>1`
|
|
|
+ q := `select winner_id,buyer_id,buyer from information.transaction_info_all where hasAny(winner_id,[` + wh + `])`
|
|
|
rows, err := ClickhouseConn.Query(context.Background(), q, args...)
|
|
|
if err != nil {
|
|
|
logx.Error(err)
|
|
@@ -1043,7 +1043,7 @@ func (n *network) Introduce_Agency(values []string, businessType []string) map[s
|
|
|
return map[string]*projectInfo{}
|
|
|
}
|
|
|
wh, args := NetworkCom.WhArgs(values)
|
|
|
- q := `select DISTINCT agency_id,buyer_id,buyer from information.transaction_info_all where agency_id in (` + wh + `) and project_bidstatus>1`
|
|
|
+ q := `select DISTINCT agency_id,buyer_id,buyer from information.transaction_info_all where agency_id in (` + wh + `)`
|
|
|
rows, err := ClickhouseConn.Query(context.Background(), q, args...)
|
|
|
if err != nil {
|
|
|
logx.Error(err)
|
|
@@ -1088,7 +1088,7 @@ func (n *network) Introduce_Middleman(values []string, businessType []string) ma
|
|
|
return result
|
|
|
}
|
|
|
wh, args := NetworkCom.WhArgs(values)
|
|
|
- q := `select DISTINCT project_id,project_money from information.transaction_info_all where project_id in (` + wh + `) and project_bidstatus>1`
|
|
|
+ q := `select DISTINCT project_id,project_money from information.transaction_info_all where project_id in (` + wh + `)`
|
|
|
if len(businessType) > 0 {
|
|
|
newWh, newArgs := NetworkCom.WhArgs(businessType)
|
|
|
q += ` and hasAny(topscopeclass,[` + newWh + `])`
|