客户订舱账密

master
wanghaomei 8 months ago
parent 7611609ccd
commit e2ea429cb4

@ -385,7 +385,7 @@ namespace Myshipping.Application
outModel.Files = dicFile;
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>>();
return outModel;
}
@ -1909,6 +1909,19 @@ namespace Myshipping.Application
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 servList = input.ServiceItemList.Adapt<List<BookingServiceItem>>();

@ -901,8 +901,13 @@ namespace Myshipping.Application
public List<BookingServiceItemCustomerDto> ServiceItemList { get; set; }
/// <summary>
/// 附加数据
/// 订舱账号
/// </summary>
public string ExtendData { get; set; }
public string BOOKINGACCOUNT { get; set; }
/// <summary>
/// 订舱密码
/// </summary>
public string BOOKINGPASSWORD { get; set; }
}
}

Loading…
Cancel
Save