This commit is contained in:
zpc 2025-11-16 14:59:45 +08:00
parent 4d4bf824b9
commit 06648a270b

View File

@ -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();