|
|
@ -431,6 +431,13 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
|
|
bkModel.ChangedFields.Add(nameof(SaveBookingOrderInput.HSCODE));
|
|
|
|
bkModel.ChangedFields.Add(nameof(SaveBookingOrderInput.HSCODE));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(siSubmitted.MARKS))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
bkModel.MARKS = siSubmitted.MARKS;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bkModel.ChangedFields.Add(nameof(SaveBookingOrderInput.MARKS));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ctnList.Count > 0)
|
|
|
|
if (ctnList.Count > 0)
|
|
|
@ -659,6 +666,12 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//处理附件
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.succ = true;
|
|
|
|
|
|
|
|
result.msg = "处理成功";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -666,6 +679,9 @@ namespace Myshipping.Application
|
|
|
|
siSubmitted.PROCESS_DATE = DateTime.Now;
|
|
|
|
siSubmitted.PROCESS_DATE = DateTime.Now;
|
|
|
|
siSubmitted.PROCESS_RESULT = "更新订舱信息失败";
|
|
|
|
siSubmitted.PROCESS_RESULT = "更新订舱信息失败";
|
|
|
|
siSubmitted.UPDATE_BOOKING_DATE = DateTime.Now;
|
|
|
|
siSubmitted.UPDATE_BOOKING_DATE = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.succ = false;
|
|
|
|
|
|
|
|
result.msg = "处理失败";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -689,7 +705,9 @@ namespace Myshipping.Application
|
|
|
|
result.msg = ex.Message;
|
|
|
|
result.msg = ex.Message;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!result.succ && siSubmitted != null)
|
|
|
|
if (!result.succ)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (siSubmitted != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
siSubmitted.PROCESS_STATUS = "FAILURE";
|
|
|
|
siSubmitted.PROCESS_STATUS = "FAILURE";
|
|
|
|
siSubmitted.PROCESS_DATE = DateTime.Now;
|
|
|
|
siSubmitted.PROCESS_DATE = DateTime.Now;
|
|
|
@ -708,6 +726,23 @@ namespace Myshipping.Application
|
|
|
|
x.PROCESS_DATE,
|
|
|
|
x.PROCESS_DATE,
|
|
|
|
x.PROCESS_STATUS,
|
|
|
|
x.PROCESS_STATUS,
|
|
|
|
x.PROCESS_RESULT,
|
|
|
|
x.PROCESS_RESULT,
|
|
|
|
|
|
|
|
x.DIFF_NUM,
|
|
|
|
|
|
|
|
x.IS_SET_AUTO_UPD_BOOKING,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
await _taskSISubmittedRepository.AsUpdateable(siSubmitted).UpdateColumns(x => new
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
x.PROCESS_DATE,
|
|
|
|
|
|
|
|
x.PROCESS_STATUS,
|
|
|
|
|
|
|
|
x.PROCESS_RESULT,
|
|
|
|
|
|
|
|
x.IS_UPDATE_BOOKING,
|
|
|
|
|
|
|
|
x.UPDATE_BOOKING_DATE,
|
|
|
|
|
|
|
|
x.DIFF_NUM,
|
|
|
|
|
|
|
|
x.BOOKING_ID,
|
|
|
|
x.IS_SET_AUTO_UPD_BOOKING
|
|
|
|
x.IS_SET_AUTO_UPD_BOOKING
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|