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