diff --git a/Epost.BLL/SkuInfoBLL.cs b/Epost.BLL/SkuInfoBLL.cs index 3d63fa9..729aa31 100644 --- a/Epost.BLL/SkuInfoBLL.cs +++ b/Epost.BLL/SkuInfoBLL.cs @@ -14,26 +14,26 @@ namespace Epost.BLL WmsTaskBLL taskbll = new WmsTaskBLL(); public DataTable GetSkuInfoList(string sku) { - if (sku.Substring(0, 1) == "2") - { - if (sku.Substring(1, 1) == "5") - { - if (sku.Length >= 7) - { - sku = sku.Substring(2, 6); - } - } - else { - if (sku.Length >= 7) - { - sku = sku.Substring(1, 6); - } - } - return dal.GetSkuInfo(sku); - } - else { + //if (sku.Substring(0, 1) == "2") + //{ + // if (sku.Substring(1, 1) == "5") + // { + // if (sku.Length >= 7) + // { + // sku = sku.Substring(2, 6); + // } + // } + // else { + // if (sku.Length >= 7) + // { + // sku = sku.Substring(1, 6); + // } + // } + // return dal.GetSkuInfo(sku); + //} + //else { return dal.GetSkuInfoList(sku); - } + // } } diff --git a/Epost.TestToolsWeb/Epost.DPS.csproj.user b/Epost.TestToolsWeb/Epost.DPS.csproj.user index b1a2138..044be83 100644 --- a/Epost.TestToolsWeb/Epost.DPS.csproj.user +++ b/Epost.TestToolsWeb/Epost.DPS.csproj.user @@ -11,7 +11,7 @@ False 600 E:\WORK\代码管理\T系列\播种\Epost.TestToolsWeb\Properties\PublishProfiles\Toolsweb.pubxml - Release|Any CPU + Debug|Any CPU