fix 数据问题

This commit is contained in:
2024-05-24 12:07:30 +08:00
parent cfb78c6bc9
commit c3b69fbf24
2 changed files with 47 additions and 40 deletions

View File

@@ -52,7 +52,20 @@ namespace Dlhis.Canteen.Order.Response
/// </summary>
public DeviceTypeEnumType Type { get; set; }
public string TypeDescription => Type.GetDescription();
public string TypeDescription
{
get
{
try
{
return Type.GetDescription();
}
catch (Exception)
{
return string.Empty;
}
}
}
/// <summary>
/// 部署点