From f4078b75fe80f03e58af3217bf642d0de118d1c9 Mon Sep 17 00:00:00 2001
From: liuying <1427574514@qq.com>
Date: 周四, 09 5月 2024 13:01:19 +0800
Subject: [PATCH] 流程图

---
 iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Util/ChineseSpell/MnemonicCodeUtil.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Util/ChineseSpell/MnemonicCodeUtil.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Util/ChineseSpell/MnemonicCodeUtil.cs
index 2d6ef48..861d235 100644
--- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Util/ChineseSpell/MnemonicCodeUtil.cs
+++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Util/ChineseSpell/MnemonicCodeUtil.cs
@@ -155,6 +155,10 @@
         /// <returns></returns>
         public static string funChineseSpell(string strChinese, bool IsName)
         {
+            if (string.IsNullOrWhiteSpace(strChinese))
+            {
+                return string.Empty;
+            }
             string strSpell, strThis;
             int i, numCount, numIndex;
             char[] chrWord;

--
Gitblit v1.9.3