From 10cced0eeb7d17aab1d1a58c9be163ba0aeb2640 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 24 二月 2025 11:17:15 +0800
Subject: [PATCH] 1.销售订单(ERP->MES)已完成

---
 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