|
@@ -737,6 +737,7 @@ func (t *OwnerService) ProjectHandle(buyerArr []string, businessStr string, moni
|
|
|
}
|
|
|
countSql := fmt.Sprintf("select count(1) as count from (%s) b ", sqlStr)
|
|
|
sqlStr += fmt.Sprintf(" order by zbtime desc limit %d,%d", startIndex, t.PageSize)
|
|
|
+ logx.Info("查询列表sql", sqlStr, allArgs)
|
|
|
//总数查询
|
|
|
ass := []BuyerAggStruct{}
|
|
|
rows, err1 := ClickhouseConn.Query(context.TODO(), sqlStr, allArgs...)
|