WinFrmUI/Yw.WinFrmUI.Hydro.Core/00-core/03-helper/HydroLinkStatusHelper.cs
@@ -20,6 +20,10 @@ /// </summary> public static string GetStatusName(string code) { if (string.IsNullOrEmpty(code)) { return string.Empty; } if (_dict.ContainsKey(code)) { return _dict[code]; @@ -32,6 +36,10 @@ /// </summary> public static string GetStatusCode(string name) { if (string.IsNullOrEmpty(name)) { return string.Empty; } if (_dict.ContainsValue(name)) { return _dict.First(x => x.Value == name).Key;