change - 老发泡线工位编号改为1105

dev
wenjy 1 year ago
parent 1895e529e1
commit 1cf2e7c76b

@ -111,7 +111,7 @@ namespace Aucma.Core.OldBoxFoam.Business
fixtureComplates.Add(new RecordBoxFoamFixtureComplate() fixtureComplates.Add(new RecordBoxFoamFixtureComplate()
{ {
ProductionLine = "CX_01", ProductionLine = "CX_01",
StationCode = "1005", StationCode = "1105",
FixtureCode = x.ObjId, FixtureCode = x.ObjId,
FixtureBoxType = x.FixtureBoxType, FixtureBoxType = x.FixtureBoxType,
FixtureStatus = x.Status, FixtureStatus = x.Status,
@ -122,7 +122,7 @@ namespace Aucma.Core.OldBoxFoam.Business
}); });
}); });
var info = _fixtureComplateServices.SaveFixtureComplate(fixtureComplates,"CX_01","1005"); var info = _fixtureComplateServices.SaveFixtureComplate(fixtureComplates,"CX_01","1105");
} }
} }

@ -189,7 +189,7 @@ namespace Aucma.Core.OldBoxFoam.Business
//小时统计报表数据存至记录表,清空小时统计报表 //小时统计报表数据存至记录表,清空小时统计报表
var hourDataList = _oldBoxFoamDataServices.Query(x => x.ProductLineCode == "CX_01" && x.StationCode == "1005"); var hourDataList = _oldBoxFoamDataServices.Query(x => x.ProductLineCode == "CX_01" && x.StationCode == "1105");
List<BoxFoamDataRecord> hourRecordList = new List<BoxFoamDataRecord>(); List<BoxFoamDataRecord> hourRecordList = new List<BoxFoamDataRecord>();
if (hourDataList != null) if (hourDataList != null)
{ {
@ -240,7 +240,7 @@ namespace Aucma.Core.OldBoxFoam.Business
log.Warn("班组切换小时数据记录保存失败"); log.Warn("班组切换小时数据记录保存失败");
} }
//当班计划班组计划设为0 //当班计划班组计划设为0
var planInfoList = _boxFoamPlanServices.QueryAsync(x => x.ProductLineCode == "CX_01" && x.StationCode == "1005").Result; var planInfoList = _boxFoamPlanServices.QueryAsync(x => x.ProductLineCode == "CX_01" && x.StationCode == "1105").Result;
if (planInfoList != null) if (planInfoList != null)
{ {

@ -107,7 +107,7 @@ namespace Aucma.Core.OldBoxFoam.ViewModels
plan.MaterialName = _planInfo.MaterialName; plan.MaterialName = _planInfo.MaterialName;
plan.PlanAmount = Convert.ToInt32(TransmitAmount); plan.PlanAmount = Convert.ToInt32(TransmitAmount);
plan.ProductLineCode = "CX_01"; plan.ProductLineCode = "CX_01";
plan.StationCode = "1005"; plan.StationCode = "1105";
plan.UpdateTime = DateTime.Now; plan.UpdateTime = DateTime.Now;
plan.CreateTime = DateTime.Now; plan.CreateTime = DateTime.Now;
plan.OrderCode = _planInfo.OrderCode; plan.OrderCode = _planInfo.OrderCode;

@ -215,7 +215,7 @@ namespace Aucma.Core.OldBoxFoam.ViewModels
HourOutPutList = new List<string>() { "20", "21", "22", "23", "00", "01", "02", "03", "04", "05", "06", "07" }; HourOutPutList = new List<string>() { "20", "21", "22", "23", "00", "01", "02", "03", "04", "05", "06", "07" };
} }
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) if(hourFoamDataList != null)
{ {

Loading…
Cancel
Save