提交
This commit is contained in:
parent
4d4bf824b9
commit
06648a270b
|
|
@ -1,4 +1,4 @@
|
|||
using Aliyun.OSS;
|
||||
using Aliyun.OSS;
|
||||
|
||||
using Microsoft.AspNetCore.Connections.Features;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
|
@ -150,13 +150,13 @@ namespace ZR.Admin.WebApi.Controllers.Business
|
|||
{
|
||||
tips = it.OpticalAttenuation;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrEmpty(it.BusinessType))
|
||||
{
|
||||
tips = it.BusinessType.Substring(0, 1);
|
||||
}
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// if (!string.IsNullOrEmpty(it.BusinessType))
|
||||
// {
|
||||
// tips = it.BusinessType.Substring(0, 1);
|
||||
// }
|
||||
//}
|
||||
return new OdfPortsMDto { Id = it.Id, Name = it.Name, Status = it.Status, Tips = tips };
|
||||
}).ToList();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user