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) {