|
|
|
@ -119,7 +119,7 @@ namespace Myshipping.Application
|
|
|
|
|
ctn.PId = entity.Id;
|
|
|
|
|
if (ctn.CTNALL.Length==4) {
|
|
|
|
|
ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(0, 2) : "";
|
|
|
|
|
ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : "";
|
|
|
|
|
ctn.CTN = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : "";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
await _seaeedictn.InsertAsync(ctn);
|
|
|
|
@ -151,7 +151,7 @@ namespace Myshipping.Application
|
|
|
|
|
if (ctn.CTNALL.Length == 4)
|
|
|
|
|
{
|
|
|
|
|
ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(0, 2) : "";
|
|
|
|
|
ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : "";
|
|
|
|
|
ctn.CTN = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : "";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
await _seaeedictn.InsertAsync(ctn);
|
|
|
|
|