AGV 上料工单号调整

This commit is contained in:
2024-05-11 08:49:17 +08:00
parent 1a1062fb64
commit b482c9b977

View File

@@ -110,7 +110,7 @@ namespace ZR.Service.mes.mm
{
//插入配料任务
MmFkWorkorderIngredient ingredient = new MmFkWorkorderIngredient();
ingredient.FkWorkorder = workorder.ClientWorkorder;
ingredient.FkWorkorder = workorder.ClientWorkorder ?? ("调试:" + workorder.Id);
ingredient.Isingredient = 0;
ingredient.Remian = workorder.PreviousNumber;
ingredient.CreatedTime = DateTime.Now;