From 554fa8ad99c42b6c0e3ed2c56358a3d7dd9ded6e Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 13 十二月 2024 14:11:45 +0800
Subject: [PATCH] 11

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