This commit is contained in:
2026-04-24 00:58:18 +08:00
parent 06708df3af
commit 403f983826
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ func ApiWorkOrder(r *gin.RouterGroup) {
query.Count(&count)
var orders []TabWorkOrder
query.Order("created_at DESC").
query.Order("updated_at DESC, id DESC").
Offset(from.Entries * (from.Page - 1)).
Limit(from.Entries).
Find(&orders)