[前台] History HistoryRawData Start_timestamp 調整
This commit is contained in:
parent
7c7dc74c41
commit
d2624226ac
@ -1161,7 +1161,7 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
where replace(convert(varchar, [timestamp], 111), '/', '-') >= @startTime
|
where replace(convert(varchar, [timestamp], 111), '/', '-') >= @startTime
|
||||||
and replace(convert(varchar, [timestamp], 111), '/', '-') <= @endTime order by timestamp";
|
and replace(convert(varchar, [timestamp], 111), '/', '-') <= @endTime order by timestamp";
|
||||||
apiResult.Data.AddRange(
|
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)
|
//foreach (var tn in tableName)
|
||||||
//{
|
//{
|
||||||
|
Loading…
Reference in New Issue
Block a user