去掉seq
This commit is contained in:
@@ -373,12 +373,12 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus bo
|
||||
sqlParams = append(sqlParams, v.NameID, v.StoreID)
|
||||
}
|
||||
sql += `)
|
||||
ORDER BY t3.id, MIN(t2.seq), t2.name_id, t2.id
|
||||
ORDER BY t3.id, t2.name_id, t2.id
|
||||
`
|
||||
} else {
|
||||
if isFocus {
|
||||
sql += `
|
||||
ORDER BY t3.id, MIN(t2.seq), t2.name_id, t2.id
|
||||
ORDER BY t3.id, t2.name_id, t2.id
|
||||
`
|
||||
}
|
||||
sql += `
|
||||
|
||||
Reference in New Issue
Block a user