aa
This commit is contained in:
@@ -1214,7 +1214,7 @@ func GetStoreManageState(db *DaoDB, storeIDs []int, vendorID, sortType, offset,
|
|||||||
tempSortType = sortType
|
tempSortType = sortType
|
||||||
}
|
}
|
||||||
if GetStoreManageStateSortTypeMap[tempSortType] != "" {
|
if GetStoreManageStateSortTypeMap[tempSortType] != "" {
|
||||||
sql += " ORDER BY " + GetStoreManageStateSortTypeMap[sortType]
|
sql += " ORDER BY " + GetStoreManageStateSortTypeMap[tempSortType]
|
||||||
if sortType < 0 {
|
if sortType < 0 {
|
||||||
sql += " DESC"
|
sql += " DESC"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user