抛光,后道,GP12质量报表逻辑变动,看板逻辑变动
This commit is contained in:
@@ -145,6 +145,11 @@ namespace ZR.Service.mes.wms
|
||||
Context.Ado.RollbackTran();
|
||||
throw new Exception("插入抛光质检记录失败");
|
||||
}
|
||||
// TODO 20241023 不再变动抛光仓库盘点数据
|
||||
Context.Ado.CommitTran();
|
||||
return res0;
|
||||
|
||||
|
||||
WmPolishInventoryService inventoryService = new();
|
||||
WmOneTimeInventoryService oneTimeService = new();
|
||||
// 合格品检查是否是门把手,是进入成品库(仅出库),不是进入一次合格品库
|
||||
@@ -275,6 +280,14 @@ namespace ZR.Service.mes.wms
|
||||
(decimal)model.QualifiedNumber / model.RequireNumber * 100 ?? 0.0m;
|
||||
}
|
||||
model.QualifiedRate = qualifiedRate;
|
||||
if (model.IsOver)
|
||||
{
|
||||
model.Type = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
model.Type = 0;
|
||||
}
|
||||
return Update(model, true);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user