fix 数据问题
This commit is contained in:
@@ -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>
|
||||
/// 部署点
|
||||
|
||||
Reference in New Issue
Block a user