This commit is contained in:
jl
2025-06-03 16:27:19 +08:00
parent af5cde8e46
commit 285bae186b
3 changed files with 63 additions and 51 deletions

View File

@ -16,22 +16,30 @@ namespace Epost.BLL
{
if (sku.Substring(0, 1) == "2")
{
if (sku.Length >= 8)
if (sku.Substring(1, 1) == "5")
{
if (sku.Length >= 7)
{
sku = sku.Substring(0, 8);
sku = sku.Substring(2, 6);
}
}
else
{
if (sku.Length >= 7)
{
sku = sku.Substring(1, 6);
}
}
return dal.GetSkuInfo(sku);
}
else
{
return dal.GetSkuInfoList(sku);
}
}
}
}