[前台] History HistoryRawData Start_timestamp 調整

This commit is contained in:
dev01 2023-05-16 18:37:01 +08:00
parent 7c7dc74c41
commit d2624226ac

View File

@ -1161,7 +1161,7 @@ namespace FrontendWebApi.ApiControllers
where replace(convert(varchar, [timestamp], 111), '/', '-') >= @startTime
and replace(convert(varchar, [timestamp], 111), '/', '-') <= @endTime order by timestamp";
apiResult.Data.AddRange(
await backgroundServiceMsSqlRepository.GetAllAsync<HistoryRawData>(sql, new { startTime = input.Start_timstamp, endTime = input.End_timstamp })
await backgroundServiceMsSqlRepository.GetAllAsync<HistoryRawData>(sql, new { startTime = input.Start_timestamp, endTime = input.End_timestamp })
);
//foreach (var tn in tableName)
//{