From f6db9762d243fd0c5cd4c74ee0c62b052d3b5ed7 Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Mon, 9 Sep 2024 13:25:58 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=8F=92=E5=85=A5=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E3=80=81=E6=96=B0=E5=A2=9E=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOAN.Service/MES/product/ProWorkorderService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOAN.Service/MES/product/ProWorkorderService.cs b/DOAN.Service/MES/product/ProWorkorderService.cs index 65efb09..c234210 100644 --- a/DOAN.Service/MES/product/ProWorkorderService.cs +++ b/DOAN.Service/MES/product/ProWorkorderService.cs @@ -220,7 +220,7 @@ namespace DOAN.Service.MES.product index = Convert.ToInt32(maxs.Substring(maxs.Length - 3)) + 1; } - proWorkorder.Workorder = handleDate.ToString("yyyyMMdd") + index.ToString("000"); + proWorkorder.Workorder = handleDate.ToString("yyyyMMdd") + index.ToString("000")+"K"; int sortNum = Context.Queryable().Where(it => it.Id == next_id).Select(it => it.Sort.Value).First(); // 调整序号 Context.Updateable()