From 5fd2460a0ec3fdb98b0b88fdb11416907ee6eed0 Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Mon, 13 May 2024 10:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= 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 e5d4ab8d..aa29d158 100644 --- a/ZR.Service/mes/mm/MaterialInputService.cs +++ b/ZR.Service/mes/mm/MaterialInputService.cs @@ -134,7 +134,7 @@ namespace ZR.Service.mes.mm if (ingredient != null) { - workorder.PreviousNumber = workorder.PreviousNumber - ingredient.Previous_numbered ?? 0; + workorder.PreviousNumber = workorder.PreviousNumber - (ingredient.Previous_numbered ?? 0); }