|
|
|
@ -9068,60 +9068,67 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperName, "发货人", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperAddress, "发货人地址", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperCountry, "发货人国家", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperProvince, "发货人省份", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperCity, "发货人城市", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperCounty, "发货人县/区", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPostCode, "发货人邮编", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperFirstName, "发货人名", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperLastName, "发货人姓", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhoneCountryCode, "发货人国家区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhoneCode, "发货人省市区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhone, "发货人电话", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhoneExtension, "唛头", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperCountry, "发货人国家", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperProvince, "发货人省份", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperCity, "发货人城市", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperCounty, "发货人县/区", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPostCode, "发货人邮编", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperFirstName, "发货人名", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperLastName, "发货人姓", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhoneCountryCode, "发货人国家区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhoneCode, "发货人省市区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhone, "发货人电话", ref canmake);
|
|
|
|
|
////MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ShipperPhoneExtension, "唛头", ref canmake);
|
|
|
|
|
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingName, "订舱方", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingAddress, "订舱方地址", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingCountry, "订舱方国家", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingProvince, "订舱方省份", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingCity, "订舱方城市", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingCounty, "订舱方县/区", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPostCode, "订舱方邮编", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingFirstName, "订舱方名", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingLastName, "订舱方姓", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPhoneCountryCode, "订舱方国家区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPhoneCode, "订舱方省市区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPhone, "订舱方电话", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingCountry, "订舱方国家", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingProvince, "订舱方省份", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingCity, "订舱方城市", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingCounty, "订舱方县/区", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPostCode, "订舱方邮编", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingFirstName, "订舱方名", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingLastName, "订舱方姓", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPhoneCountryCode, "订舱方国家区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPhoneCode, "订舱方省市区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.BookingPhone, "订舱方电话", ref canmake);
|
|
|
|
|
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeName, "收货人", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeAddress, "收货人地址", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeCountry, "收货人国家", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeProvince, "收货人省份", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeCity, "收货人城市", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeCounty, "收货人县/区", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePostCode, "收货人邮编", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeFirstName, "收货人名", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeLastName, "收货人姓", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePhoneCountryCode, "收货人国家区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePhoneCode, "收货人省市区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePhone, "收货人电话", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeCountry, "收货人国家", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeProvince, "收货人省份", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeCity, "收货人城市", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeCounty, "收货人县/区", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePostCode, "收货人邮编", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeFirstName, "收货人名", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneeLastName, "收货人姓", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePhoneCountryCode, "收货人国家区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePhoneCode, "收货人省市区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.ConsigneePhone, "收货人电话", ref canmake);
|
|
|
|
|
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartName, "通知人", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartAddress, "通知人地址", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartCountry, "通知人国家", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartProvince, "通知人省份", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartCity, "通知人城市", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartCounty, "通知人县/区", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPostCode, "通知人邮编", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartFirstName, "通知人名", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartLastName, "通知人姓", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPhoneCountryCode, "通知人国家区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPhoneCode, "通知人省市区号", ref canmake);
|
|
|
|
|
MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPhone, "通知人电话", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartCountry, "通知人国家", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartProvince, "通知人省份", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartCity, "通知人城市", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartCounty, "通知人县/区", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPostCode, "通知人邮编", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartFirstName, "通知人名", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartLastName, "通知人姓", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPhoneCountryCode, "通知人国家区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPhoneCode, "通知人省市区号", ref canmake);
|
|
|
|
|
//MsOpSeaeEdiPortDAL.MsOpSeaeEdiPortDAL.StringIsChinese_Dr(result.OpseaeDjyOrderHead.NotifypartPhone, "通知人电话", ref canmake);
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一个海运出口根据其BSNO初次产生 大简云订舱信息op_seae_djyorder
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="BSNO"></param>
|
|
|
|
|
/// <param name="USERID"></param>
|
|
|
|
|
/// <param name="_CARRIER"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public static 大简云订舱邮件Helper GetDjyOrderHead(string BSNO, string USERID, string _CARRIER)//
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
@ -9495,6 +9502,74 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
if (CARRIER == "ONE")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//20241106 对于one的订舱信息而言
|
|
|
|
|
//每次新增 如果vw_op_seae_djyorder当中存在 islast=true 且 船公司=ONE的记录,取其中时间最晚的
|
|
|
|
|
//如果 品名(为空) 和上述四组名称/地址
|
|
|
|
|
|
|
|
|
|
//20241106 四个名称和地址 都默认带出上一票的值
|
|
|
|
|
var cdc = new CommonDataContext();
|
|
|
|
|
var lastrecList = cdc.VW_OP_SEAE_DJYORDER.Where(x =>
|
|
|
|
|
x.CreateID == SendUser.USERID
|
|
|
|
|
&& x.CARRIER=="ONE"
|
|
|
|
|
&& x.ISLAST == true
|
|
|
|
|
&& (
|
|
|
|
|
(x.BookingName != null && x.BookingName != "")
|
|
|
|
|
|| (x.ShipperName != null && x.ShipperName != "")
|
|
|
|
|
|| (x.NotifypartName != null && x.NotifypartName != "")
|
|
|
|
|
|| (x.ConsigneeName != null && x.ConsigneeName != "")
|
|
|
|
|
)).ToList();
|
|
|
|
|
|
|
|
|
|
if (lastrecList != null && lastrecList.Count > 0)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
var lastrec = lastrecList.OrderByDescending(o => o.CreateTime).FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.bookingAddr))
|
|
|
|
|
OpseaeDjyOrderHead.bookingAddr = lastrec.bookingAddr;
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.DESCRIPTION))
|
|
|
|
|
OpseaeDjyOrderHead.DESCRIPTION = lastrec.DESCRIPTION;
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.ShipperName))
|
|
|
|
|
OpseaeDjyOrderHead.ShipperName = lastrec.ShipperName;
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.ShipperAddress))
|
|
|
|
|
OpseaeDjyOrderHead.ShipperAddress = lastrec.ShipperAddress;
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.BookingName))
|
|
|
|
|
OpseaeDjyOrderHead.BookingName = lastrec.BookingName;
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.BookingAddress))
|
|
|
|
|
OpseaeDjyOrderHead.BookingAddress = lastrec.BookingAddress;
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.NotifypartName))
|
|
|
|
|
OpseaeDjyOrderHead.NotifypartName = lastrec.NotifypartName;
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.NotifypartAddress))
|
|
|
|
|
OpseaeDjyOrderHead.NotifypartAddress = lastrec.NotifypartAddress;
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.ConsigneeName))
|
|
|
|
|
OpseaeDjyOrderHead.ConsigneeName = lastrec.ConsigneeName;
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lastrec.ConsigneeAddress))
|
|
|
|
|
OpseaeDjyOrderHead.ConsigneeAddress = lastrec.ConsigneeAddress;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//20240705 根据枚举类型 81018 enumvalueid=opseae.service运输条款
|
|
|
|
|
//来填充 servicetype 和 servicemode
|
|
|
|
|
var 运输条款对应 = PubSysDAL.GetEnumValueList(81018);
|
|
|
|
|
|
|
|
|
|
if (运输条款对应.Exists(x => x.EnumValueId == OpseaeHead.SERVICE))
|
|
|
|
|
{
|
|
|
|
|
var 对应条款 = 运输条款对应.First(x => x.EnumValueId == OpseaeHead.SERVICE);
|
|
|
|
|
|
|
|
|
|
OpseaeDjyOrderHead.serviceType = 对应条款.EnumValueName;
|
|
|
|
|
OpseaeDjyOrderHead.serviceMode = 对应条款.EnumValueName_2;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private MsOpSeae OpseaeHead { get; set; }
|
|
|
|
@ -9648,7 +9723,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
{ "BOOKINGPASSWORD", 第三方密码 },
|
|
|
|
|
{ "LANECODE", OpseaeDjyOrderHead.LANE }//航线
|
|
|
|
|
|
|
|
|
|
,{ "OPMAIL", SendUser.EMAIL1 }//操作邮箱 发送人的邮箱
|
|
|
|
|
//,{ "OPMAIL", SendUser.EMAIL1 }//操作邮箱 发送人的邮箱
|
|
|
|
|
,{ "OpMail", SendUser.EMAIL1 }//操作邮箱 发送人的邮箱
|
|
|
|
|
|
|
|
|
|
,{ "PolPortName", OpseaeDjyOrderHead.PolPortName }//
|
|
|
|
|
,{ "PodPortName", OpseaeDjyOrderHead.PodPortName }//
|
|
|
|
@ -9684,7 +9760,9 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
|
|
|
|
|
if (OpseaeHead.CARRIER == "ONE")
|
|
|
|
|
{
|
|
|
|
|
_result.Add("PLACERECEIPTCODE", OpseaeDjyOrderHead.PLACERECEIPTID);
|
|
|
|
|
_result.Add("ShipInfoJson", OpseaeDjyOrderHead.ShipInfoJson);
|
|
|
|
|
_result.Add("bookingAddr", OpseaeDjyOrderHead.bookingAddr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|