jianghaiqing 8 months ago
commit 47a44f6583

@ -283,6 +283,11 @@ namespace Myshipping.Application.Entity
/// 目的地 /// 目的地
/// </summary> /// </summary>
public string DESTINATION { get; set; } public string DESTINATION { get; set; }
/// <summary>
/// 附加数据
/// </summary>
public string ExtendData { get; set; }
} }
/// <summary> /// <summary>

@ -386,6 +386,7 @@ namespace Myshipping.Application
outModel.LogList = _repStatuslog.AsQueryable().Where(x => x.BookingId == entity.Id && x.Category == StaLogCateAudit).OrderByDescending(x => x.OpTime).ToList().Adapt<List<BookingCustomerLogDto>>(); outModel.LogList = _repStatuslog.AsQueryable().Where(x => x.BookingId == entity.Id && x.Category == StaLogCateAudit).OrderByDescending(x => x.OpTime).ToList().Adapt<List<BookingCustomerLogDto>>();
outModel.ServiceItemList = _repServiceItem.AsQueryable().Where(x => x.BookingId == entity.Id).ToList().Adapt<List<BookingServiceItemCustomerDto>>(); outModel.ServiceItemList = _repServiceItem.AsQueryable().Where(x => x.BookingId == entity.Id).ToList().Adapt<List<BookingServiceItemCustomerDto>>();
return outModel; return outModel;
} }
@ -1908,6 +1909,19 @@ namespace Myshipping.Application
ins = true; ins = true;
} }
//订舱账号、密码
var jobj = new JObject();
if (!string.IsNullOrEmpty(custOrder.ExtendData))
{
jobj = JObject.Parse(custOrder.ExtendData);
}
var jobjBookAcc=new JObject();
jobjBookAcc["Account"] = input.BOOKINGACCOUNT;
jobjBookAcc["Password"] = input.BOOKINGPASSWORD;
jobj["BookingAccount"] = jobjBookAcc;
custOrder.ExtendData = jobjBookAcc.ToJsonString();
var ctns = input.CtnList.Adapt<List<BookingCtn>>(); var ctns = input.CtnList.Adapt<List<BookingCtn>>();
var servList = input.ServiceItemList.Adapt<List<BookingServiceItem>>(); var servList = input.ServiceItemList.Adapt<List<BookingServiceItem>>();

@ -397,6 +397,11 @@ namespace Myshipping.Application
/// </summary> /// </summary>
public string UpdatedTime { get; set; } public string UpdatedTime { get; set; }
/// <summary>
/// 附加数据
/// </summary>
public string ExtendData { get; set; }
/// <summary> /// <summary>
/// 文件列表 /// 文件列表
/// </summary> /// </summary>
@ -553,6 +558,11 @@ namespace Myshipping.Application
/// 回推接口秘钥 /// 回推接口秘钥
/// </summary> /// </summary>
public string FeedbackSecret { get; set; } public string FeedbackSecret { get; set; }
/// <summary>
/// 附加数据
/// </summary>
public string ExtendData { get; set; }
} }
@ -889,13 +899,15 @@ namespace Myshipping.Application
/// 服务项目 /// 服务项目
/// </summary> /// </summary>
public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; } public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; }
///// <summary>
///// 订舱账号 /// <summary>
///// </summary> /// 订舱账号
//public string BOOKINGACCOUNT { get; set; } /// </summary>
///// <summary> public string BOOKINGACCOUNT { get; set; }
///// 订舱密码
///// </summary> /// <summary>
//public string BOOKINGPASSWORD { get; set; } /// 订舱密码
/// </summary>
public string BOOKINGPASSWORD { get; set; }
} }
} }

@ -1486,7 +1486,7 @@ namespace Myshipping.Application
if (input.ctnInputs != null) if (input.ctnInputs != null)
{ {
var groupList = input.ctnInputs.Where(x => x.CTNNUM > 0).GroupBy(c => c.CTNALL).Select(g => $"{g.Key}*{g.Sum(gg => gg.CTNNUM)}"); var groupList = input.ctnInputs.GroupBy(c => c.CTNALL).Select(g => $"{g.Key}*{g.Sum(gg => gg.CTNNUM)}");
input.CNTRTOTAL = string.Join(" / ", groupList); input.CNTRTOTAL = string.Join(" / ", groupList);
} }
//条件限制 重复限制 //条件限制 重复限制

Loading…
Cancel
Save