diff --git a/business/model/dao/store.go b/business/model/dao/store.go index a2dae7498..f69d912c3 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -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" }