瀏覽代碼

feat:xiugai

wangchuanjin 9 月之前
父節點
當前提交
f49eedf580
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      api/internal/service/network.go

+ 3 - 3
api/internal/service/network.go

@@ -993,7 +993,7 @@ func (n *network) Introduce_Supplier(values []string, businessType []string) map
 	repeat := map[string]bool{}
 	repeat := map[string]bool{}
 	whRepeat := map[string]map[string]bool{}
 	whRepeat := map[string]map[string]bool{}
 	buyers := []string{}
 	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...)
 	rows, err := ClickhouseConn.Query(context.Background(), q, args...)
 	if err != nil {
 	if err != nil {
 		logx.Error(err)
 		logx.Error(err)
@@ -1043,7 +1043,7 @@ func (n *network) Introduce_Agency(values []string, businessType []string) map[s
 		return map[string]*projectInfo{}
 		return map[string]*projectInfo{}
 	}
 	}
 	wh, args := NetworkCom.WhArgs(values)
 	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...)
 	rows, err := ClickhouseConn.Query(context.Background(), q, args...)
 	if err != nil {
 	if err != nil {
 		logx.Error(err)
 		logx.Error(err)
@@ -1088,7 +1088,7 @@ func (n *network) Introduce_Middleman(values []string, businessType []string) ma
 		return result
 		return result
 	}
 	}
 	wh, args := NetworkCom.WhArgs(values)
 	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 {
 	if len(businessType) > 0 {
 		newWh, newArgs := NetworkCom.WhArgs(businessType)
 		newWh, newArgs := NetworkCom.WhArgs(businessType)
 		q += ` and hasAny(topscopeclass,[` + newWh + `])`
 		q += ` and hasAny(topscopeclass,[` + newWh + `])`