- 分页太长时,不通过storeid, nameid过滤
This commit is contained in:
@@ -334,7 +334,7 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus bo
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
skuNamesInfo = &StoreSkuNamesInfo{}
|
skuNamesInfo = &StoreSkuNamesInfo{}
|
||||||
if !isBySku {
|
if !isBySku && sqlPageSize < 1000 {
|
||||||
sql2 := `
|
sql2 := `
|
||||||
SELECT SQL_CALC_FOUND_ROWS
|
SELECT SQL_CALC_FOUND_ROWS
|
||||||
t3.id store_id, t1.id name_id
|
t3.id store_id, t1.id name_id
|
||||||
|
|||||||
Reference in New Issue
Block a user