change - 老发泡线工位编号1105

dev
wenjy 1 year ago
parent f1d7dc027b
commit 63ab35b3a9

@ -83,7 +83,7 @@ namespace Aucma.Core.OldBoxFoam.ViewModels
// 判断当前是否是白班时间段
if (now.Hour >= 8 && now.Hour < 20)
{
List<BoxFoamPlan> list = _boxFoamPlanServices.QueryAsync(d => d.ShiftType == 1).Result;
List<BoxFoamPlan> list = _boxFoamPlanServices.QueryAsync(d => d.StationCode == "1105" && d.ShiftType == 1).Result;
if (list == null) return;
foreach (BoxFoamPlan item in list)
{

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

Loading…
Cancel
Save