|
|
@ -922,7 +922,7 @@ namespace Myshipping.Application
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
await SaveLog(entity, mlist);
|
|
|
|
await SaveLog(entity, mlist);
|
|
|
|
if (!string.IsNullOrEmpty(entity.MBLNO) && entity.MBLNO != mlist.MBLNO)
|
|
|
|
if (!string.IsNullOrEmpty(entity.MBLNO) && (entity.MBLNO != mlist.MBLNO||entity.YARDID!=mlist.YARDID||entity.CARRIERID!=mlist.CARRIERID))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//更改提单号
|
|
|
|
//更改提单号
|
|
|
|
await UpdateMblno(entity);
|
|
|
|
await UpdateMblno(entity);
|
|
|
@ -1853,7 +1853,6 @@ namespace Myshipping.Application
|
|
|
|
var dicdatalist = _cache.GetAllDictData().Result;
|
|
|
|
var dicdatalist = _cache.GetAllDictData().Result;
|
|
|
|
foreach (var item in dto)
|
|
|
|
foreach (var item in dto)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(item.CARRIERID))
|
|
|
|
if (!string.IsNullOrWhiteSpace(item.CARRIERID))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var et = await _repBookingStatus.AsQueryable().Where(x => x.StaCode == "sta_mudigang" && x.BookingId == Convert.ToInt64(item.BusinessId)).FirstAsync();
|
|
|
|
var et = await _repBookingStatus.AsQueryable().Where(x => x.StaCode == "sta_mudigang" && x.BookingId == Convert.ToInt64(item.BusinessId)).FirstAsync();
|
|
|
@ -1908,9 +1907,9 @@ namespace Myshipping.Application
|
|
|
|
status = "订阅起运港";
|
|
|
|
status = "订阅起运港";
|
|
|
|
IsBookingYZ = "1";
|
|
|
|
IsBookingYZ = "1";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
IsBookingYZ = "0";
|
|
|
|
IsBookingYZ = "0";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
////添加booking日志
|
|
|
|
////添加booking日志
|
|
|
|
var bid = await _bookinglog.InsertReturnSnowflakeIdAsync(new BookingLog
|
|
|
|
var bid = await _bookinglog.InsertReturnSnowflakeIdAsync(new BookingLog
|
|
|
|