OrderByKey

This commit is contained in:
智能大石头 2025-07-22 10:49:37 +08:00
parent be52d38dc4
commit b281c9193e
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class AppHistoryController : ReadOnlyEntityController<AppHistory>
var end = p["dtEnd"].ToDateTime();
//if (appId > 0 && start.Year < 2000) p["dtStart"] = (start = DateTime.Today).ToString("yyyy-MM-dd");
if (appId >= 0) PageSetting.OrderByKey = true;
return AppHistory.Search(appId, client, action, start, end, p["Q"], p);
}