- add SpecQuality and SpecUnit for skuname

- order desc for many query apis
This commit is contained in:
gazebo
2018-10-28 12:27:12 +08:00
parent f7df897bdb
commit 298bb2f617
5 changed files with 63 additions and 16 deletions

View File

@@ -175,7 +175,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
sql += sqlWhere + `
GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22
ORDER BY t1.id
ORDER BY t1.id DESC
LIMIT ? OFFSET ?`
pageSize = jxutils.FormalizePageSize(pageSize)
if offset < 0 {