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