From b482c9b977253efd552e64f4a8a0003b230a8015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Sat, 11 May 2024 08:49:17 +0800 Subject: [PATCH] =?UTF-8?q?AGV=20=E4=B8=8A=E6=96=99=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=8F=B7=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/mes/mm/MaterialInputService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZR.Service/mes/mm/MaterialInputService.cs b/ZR.Service/mes/mm/MaterialInputService.cs index 7a1e2b9c..4d5b3488 100644 --- a/ZR.Service/mes/mm/MaterialInputService.cs +++ b/ZR.Service/mes/mm/MaterialInputService.cs @@ -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;