From 63ab35b3a9ef536e330f4e6cf3b5e02ec180c088 Mon Sep 17 00:00:00 2001 From: wenjy Date: Tue, 9 Jan 2024 12:18:54 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E8=80=81=E5=8F=91=E6=B3=A1?= =?UTF-8?q?=E7=BA=BF=E5=B7=A5=E4=BD=8D=E7=BC=96=E5=8F=B71105?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aucma.Core.OldBoxFoam/ViewModels/FoamPlanPageViewModel.cs | 2 +- Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Aucma.Core.OldBoxFoam/ViewModels/FoamPlanPageViewModel.cs b/Aucma.Core.OldBoxFoam/ViewModels/FoamPlanPageViewModel.cs index 424d1e94..6970e8c5 100644 --- a/Aucma.Core.OldBoxFoam/ViewModels/FoamPlanPageViewModel.cs +++ b/Aucma.Core.OldBoxFoam/ViewModels/FoamPlanPageViewModel.cs @@ -83,7 +83,7 @@ namespace Aucma.Core.OldBoxFoam.ViewModels // 判断当前是否是白班时间段 if (now.Hour >= 8 && now.Hour < 20) { - List list = _boxFoamPlanServices.QueryAsync(d => d.ShiftType == 1).Result; + List list = _boxFoamPlanServices.QueryAsync(d => d.StationCode == "1105" && d.ShiftType == 1).Result; if (list == null) return; foreach (BoxFoamPlan item in list) { diff --git a/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs b/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs index 2e728bf3..3b743d81 100644 --- a/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs +++ b/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs @@ -254,7 +254,7 @@ namespace Aucma.Core.OldBoxFoam.ViewModels DateTime now = DateTime.Now; - var hourFoamDataList = _boxFoamDataServices.Query(x => x.ProductLineCode == "CX_01" && x.StationCode == "1005"); + var hourFoamDataList = _boxFoamDataServices.Query(x => x.ProductLineCode == "CX_01" && x.StationCode == "1105"); if (hourFoamDataList != null) {