细节调整

This commit is contained in:
yanghongwei 2025-08-23 01:32:07 +08:00
parent 7574049a3f
commit 25b9d20cb3
1 changed files with 1 additions and 2 deletions

View File

@ -316,7 +316,7 @@ namespace LY.App.Service
/// <returns></returns>
public async Task<ApiResult> GetPage(AlarmReq input)
{
var result = await CreatePage(input);
var result = await CreateHistoryPage(input);
return new ApiResult()
{
code = 0,
@ -417,7 +417,6 @@ namespace LY.App.Service
startTime = SqlFunc.AggregateMin(st.CreateTime),
endTime = SqlFunc.AggregateMax(st.CreateTime),
sn = st.serial_number,
Frequency = 0,
duration = (SqlFunc.AggregateMax(st.CreateTime) - SqlFunc.AggregateMin(st.CreateTime)).TotalSeconds,
model = st.device_type,
IsWhitelist = SqlFunc.AggregateMax(st.IsWhitelist),