This commit is contained in:
@ -9,6 +9,7 @@ using Epost.Common;
|
||||
using System.Web.Helpers;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Epost.TestToolsWeb.Tests.Controllers
|
||||
{
|
||||
@ -19,13 +20,16 @@ namespace Epost.TestToolsWeb.Tests.Controllers
|
||||
[TestMethod]
|
||||
public void d()
|
||||
{
|
||||
string sku = "211100";
|
||||
if (sku.Substring(0, 1) == "2" && sku.Substring(1, 1) != "5")
|
||||
string sku = "2509267236248";
|
||||
if (sku.Substring(0, 1) == "2")
|
||||
{
|
||||
if (sku.Length >= 7)
|
||||
|
||||
if (sku.Length >= 8)
|
||||
{
|
||||
sku = sku.Substring(1, 6);
|
||||
sku = sku.Substring(0, 8);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user