瀏覽代碼

feat:xiugai

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

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

@@ -151,7 +151,7 @@ func (n *network) Associate(in *types.AssociateReq) (reply *types.Reply) {
 			wh, newArgs := NetworkCom.WhArgs(probusfors)
 			args = append(args, newArgs...)
 			q := `select DISTINCT b.winner_id,b.winner from information.transaction_info a 
-				inner join information.transaction_info b on (has(a.winner, ?) and a.buyer_id<>'' and a.buyer_id=b.buyer_id and hasAny(b.property_form,[` + wh + `])) ORDER BY b.project_id`
+				inner join information.transaction_info b on (has(a.winner, ?) and a.buyer_id<>'' and a.buyer_id=b.buyer_id and hasAny(b.property_form,[` + wh + `])=0) ORDER BY b.project_id`
 			rows, err := ClickhouseConn.Query(context.Background(), q, args...)
 			if err != nil {
 				logx.Error(err)