optimize
wet 2 years ago
parent a996367da9
commit 59705f3628

@ -168,6 +168,12 @@ namespace Myshipping.Application
ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(0, 2) : "";
ctn.CTN = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : "";
}
if (ctn.CTNALL.Contains("'"))
{
ctn.SIZE = ctn.CTNALL.Split("'")[0].ToString();
ctn.CTN = ctn.CTNALL.Split("'")[1].ToString();
}
await _seaeedictn.InsertAsync(ctn);
}

Loading…
Cancel
Save