From 77eabfec5d29c373d75e4bfd6b7e94604dcfa207 Mon Sep 17 00:00:00 2001 From: Dai Mr <1822802785@qq.com> Date: Tue, 20 May 2025 16:53:36 +0800 Subject: [PATCH] update --- .../CollectBusApplicationModule.cs | 2 +- .../EnergySystemScheduledMeterReadingService.cs | 2 +- web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/services/JiShe.CollectBus.Application/CollectBusApplicationModule.cs b/services/JiShe.CollectBus.Application/CollectBusApplicationModule.cs index 69c986a..1d41ad4 100644 --- a/services/JiShe.CollectBus.Application/CollectBusApplicationModule.cs +++ b/services/JiShe.CollectBus.Application/CollectBusApplicationModule.cs @@ -94,6 +94,6 @@ public class CollectBusApplicationModule : AbpModule //默认初始化表计信息 var dbContext = context.ServiceProvider.GetRequiredService(); - await dbContext.InitAmmeterCacheData(); + await dbContext.InitAmmeterCacheData("V4-Gather-8890"); } } \ No newline at end of file diff --git a/services/JiShe.CollectBus.Application/ScheduledMeterReading/EnergySystemScheduledMeterReadingService.cs b/services/JiShe.CollectBus.Application/ScheduledMeterReading/EnergySystemScheduledMeterReadingService.cs index c1fd4e4..7b52c30 100644 --- a/services/JiShe.CollectBus.Application/ScheduledMeterReading/EnergySystemScheduledMeterReadingService.cs +++ b/services/JiShe.CollectBus.Application/ScheduledMeterReading/EnergySystemScheduledMeterReadingService.cs @@ -257,7 +257,7 @@ namespace JiShe.CollectBus.ScheduledMeterReading #if DEBUG //// sql = $@"{sql} and c.Address in('542410000504','442405000040','442405000039','402410040506')"; - sql = $@"{sql} and c.Address in('402410040506')"; + //sql = $@"{sql} and c.Address in('402410040506')"; #endif if (!string.IsNullOrWhiteSpace(gatherCode)) diff --git a/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj b/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj index f6cdfbe..96786fe 100644 --- a/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj +++ b/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj @@ -83,9 +83,6 @@ Always - - Always -