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(); WmsTaskBLL taskbll = new WmsTaskBLL();
public DataTable GetSkuInfoList(string sku) public DataTable GetSkuInfoList(string sku)
{ {
if (sku.Substring(0, 1) == "2") //if (sku.Substring(0, 1) == "2")
{ //{
if (sku.Substring(1, 1) == "5") // if (sku.Substring(1, 1) == "5")
{ // {
if (sku.Length >= 7) // if (sku.Length >= 7)
{ // {
sku = sku.Substring(2, 6); // sku = sku.Substring(2, 6);
} // }
} // }
else { // else {
if (sku.Length >= 7) // if (sku.Length >= 7)
{ // {
sku = sku.Substring(1, 6); // sku = sku.Substring(1, 6);
} // }
} // }
return dal.GetSkuInfo(sku); // return dal.GetSkuInfo(sku);
} //}
else { //else {
return dal.GetSkuInfoList(sku); return dal.GetSkuInfoList(sku);
} // }
} }

View File

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