|
@@ -224,7 +224,7 @@ namespace GxPress.Repository.Implement
|
|
|
AND a.FolderType = {groupConst}
|
|
|
AND a.IsDelete = 0
|
|
|
AND (b.id > 0 OR a.AttributeValue = 2)
|
|
|
- ORDER BY a.AttributeValue DESC , a.IsTop DESC , a.LastModifiedDate DESC
|
|
|
+ ORDER a.IsTop DESC , a.LastModifiedDate,a.Sort DESC
|
|
|
LIMIT {(request.Page - 1) * request.PerPage} , {request.PerPage}";
|
|
|
var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
|
|
|
var database = new Database(databaseType, _connectionString);
|