aa
This commit is contained in:
@@ -4557,7 +4557,6 @@ func QueryPageSkus(ctx *jxcontext.Context, vendorID int, vendorStoreIDs []string
|
||||
t1.*
|
||||
FROM (
|
||||
`
|
||||
sqlParams = append(sqlParams, lng, lat, lng, lat)
|
||||
if vendorID == -1 {
|
||||
//sql += sqlEbai + ` UNION`
|
||||
sqlParams = append(sqlParams, lng, lat)
|
||||
@@ -4641,6 +4640,8 @@ func QueryPageSkus(ctx *jxcontext.Context, vendorID int, vendorStoreIDs []string
|
||||
panic(r)
|
||||
}
|
||||
}()
|
||||
fmt.Println(sql)
|
||||
fmt.Println(sqlParams)
|
||||
if err = dao.GetRowsTx(txDB, &results, sql, sqlParams...); err == nil {
|
||||
pagedInfo = &model.PagedInfo{
|
||||
TotalCount: dao.GetLastTotalRowCount2(db, txDB),
|
||||
|
||||
Reference in New Issue
Block a user