去掉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)
|
sqlParams = append(sqlParams, v.NameID, v.StoreID)
|
||||||
}
|
}
|
||||||
sql += `)
|
sql += `)
|
||||||
ORDER BY t3.id, MIN(t2.seq), t2.name_id, t2.id
|
ORDER BY t3.id, t2.name_id, t2.id
|
||||||
`
|
`
|
||||||
} else {
|
} else {
|
||||||
if isFocus {
|
if isFocus {
|
||||||
sql += `
|
sql += `
|
||||||
ORDER BY t3.id, MIN(t2.seq), t2.name_id, t2.id
|
ORDER BY t3.id, t2.name_id, t2.id
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
sql += `
|
sql += `
|
||||||
|
|||||||
Reference in New Issue
Block a user