This commit is contained in:
jl
2024-11-20 14:49:56 +08:00
parent 2219cae500
commit 7f5e4fcc3f
2 changed files with 20 additions and 20 deletions

View File

@ -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);
}
// }
}

View File

@ -11,7 +11,7 @@
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
<NameOfLastUsedPublishProfile>E:\WORK\代码管理\T系列\播种\Epost.TestToolsWeb\Properties\PublishProfiles\Toolsweb.pubxml</NameOfLastUsedPublishProfile>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />