李昊 преди 4 години
родител
ревизия
4a2bee6dca
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      GxPress/Repository/GxPress.Repository.Implement/WorkFlow/FlowTodoRepository.cs

+ 1 - 1
GxPress/Repository/GxPress.Repository.Implement/WorkFlow/FlowTodoRepository.cs

@@ -192,7 +192,7 @@ namespace GxPress.Repository.Implement.WorkFlow
                     sql += $" AND b.Id IN ({processId})";
                 }
             }
-            sql += $") ORDER BY a.CreatedDate DESC limit {(request.Page - 1) * request.PerPage},{request.PerPage}";
+            sql += $") ORDER BY CreatedDate DESC limit {(request.Page - 1) * request.PerPage},{request.PerPage}";
             var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
             var database = new Database(databaseType, _connectionString);
             var connection = database.GetConnection();