|
@@ -103,10 +103,7 @@ namespace XdCxRhDW.Repostory
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- satCode = 40892;
|
|
|
- sigTime = new DateTime(2024, 10, 09, 23, 59, 53);
|
|
|
//GetLatestAsync方法在索引列上使用了加减运算会导致索引失效,运算变慢,这个函数是对GetLatestAsyncOld的优化
|
|
|
-
|
|
|
//老的SQL很慢
|
|
|
//SELECT min(abs(JULIANDAY(TimeUTC)-JULIANDAY('2024-10-09 23:59:53'))) as NearDaySpan,* FROM XlInfo where satcode=40892
|
|
|
using (RHDWContext db = new RHDWContext())
|