|
|
|
@ -5152,6 +5152,8 @@ namespace DSWeb.MvcShipping.Controllers
|
|
|
|
|
ctn.ctn_id = Guid.NewGuid().ToString();
|
|
|
|
|
ctn.MFNO = edi.MFNO;
|
|
|
|
|
ctn.CNTRNO = it;
|
|
|
|
|
ctn.CTN = cclist.Where(x => x.CNTRNO == it).Select(x => x.CTN).FirstOrDefault();
|
|
|
|
|
ctn.SIZE = cclist.Where(x => x.CNTRNO == it).Select(x => x.SIZE).FirstOrDefault();
|
|
|
|
|
ctn.SEALNO = cclist.Where(x => x.CNTRNO == it).Select(x => x.SEALNO).FirstOrDefault();
|
|
|
|
|
ctn.CTNCODE = i.ToString().PadLeft(2, '0');
|
|
|
|
|
ctn.CTNALL = cclist.Where(x => x.CNTRNO == it).Select(x => x.CTNALL).FirstOrDefault();
|
|
|
|
@ -5608,6 +5610,8 @@ namespace DSWeb.MvcShipping.Controllers
|
|
|
|
|
ctn.ctn_id = Guid.NewGuid().ToString();
|
|
|
|
|
ctn.MFNO = edi.MFNO;
|
|
|
|
|
ctn.CNTRNO = it;
|
|
|
|
|
ctn.CTN = cclist.Where(x => x.CNTRNO == it).Select(x => x.CTN).FirstOrDefault();
|
|
|
|
|
ctn.SIZE = cclist.Where(x => x.CNTRNO == it).Select(x => x.SIZE).FirstOrDefault();
|
|
|
|
|
ctn.SEALNO = cclist.Where(x => x.CNTRNO == it).Select(x => x.SEALNO).FirstOrDefault();
|
|
|
|
|
ctn.CTNCODE = i.ToString().PadLeft(2, '0');
|
|
|
|
|
ctn.CTNALL = cclist.Where(x => x.CNTRNO == it).Select(x => x.CTNALL).FirstOrDefault();
|
|
|
|
|