From 45027a3c039d5988b4d5fc95d6803ed517e2e7db Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 06 五月 2025 15:59:36 +0800 Subject: [PATCH] 1.工单计划下达时间优化 --- MES.Service/util/StringUtil.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MES.Service/util/StringUtil.cs b/MES.Service/util/StringUtil.cs index 5002ca3..51cf0aa 100644 --- a/MES.Service/util/StringUtil.cs +++ b/MES.Service/util/StringUtil.cs @@ -19,4 +19,11 @@ { return !string.IsNullOrEmpty(value); } + + public static bool CheckGuid(Guid? guid) + { + if (guid == Guid.Empty) + return false; + return guid != null; + } } \ No newline at end of file -- Gitblit v1.9.3