|
|
|
@ -580,9 +580,27 @@ public class SyncHisRecord: ISyncHisRecord,ITransient
|
|
|
|
|
task.CLOSING_DATE = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//CLOSING_DATE
|
|
|
|
|
if (BCReadInfo.CustomSICutDate.HasValue)
|
|
|
|
|
{
|
|
|
|
|
if (!task.CUSTOM_SI_CUT_DATE.HasValue || task.CUSTOM_SI_CUT_DATE.Value != BCReadInfo.CustomSICutDate.Value)
|
|
|
|
|
{
|
|
|
|
|
msgBuilder.Append($"CUSTOM_SI_CUT_DATE org={task.CUSTOM_SI_CUT_DATE} tar={BCReadInfo.CustomSICutDate.Value}##");
|
|
|
|
|
|
|
|
|
|
task.CUSTOM_SI_CUT_DATE = BCReadInfo.CustomSICutDate.Value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
msgBuilder.Append($"CUSTOM_SI_CUT_DATE org={task.CUSTOM_SI_CUT_DATE} tar=null##");
|
|
|
|
|
|
|
|
|
|
task.CUSTOM_SI_CUT_DATE = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_db.Updateable<TaskBCEntity>(task).UpdateColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.SI_CUT_DATE,
|
|
|
|
|
it.CUSTOM_SI_CUT_DATE,
|
|
|
|
|
it.VGM_CUTOFF_TIME,
|
|
|
|
|
it.MANIFEST_CUT_DATE,
|
|
|
|
|
it.CY_CUTOFF_TIME,
|
|
|
|
@ -718,9 +736,27 @@ public class SyncHisRecord: ISyncHisRecord,ITransient
|
|
|
|
|
task.CLOSING_DATE = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//CLOSING_DATE
|
|
|
|
|
if (BCReadInfo.CustomSICutDate.HasValue)
|
|
|
|
|
{
|
|
|
|
|
if (!task.CUSTOM_SI_CUT_DATE.HasValue || task.CUSTOM_SI_CUT_DATE.Value != BCReadInfo.CustomSICutDate.Value)
|
|
|
|
|
{
|
|
|
|
|
msgBuilder.Append($"CUSTOM_SI_CUT_DATE org={task.CUSTOM_SI_CUT_DATE} tar={BCReadInfo.CustomSICutDate.Value}##");
|
|
|
|
|
|
|
|
|
|
task.CUSTOM_SI_CUT_DATE = BCReadInfo.CustomSICutDate.Value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
msgBuilder.Append($"CUSTOM_SI_CUT_DATE org={task.CUSTOM_SI_CUT_DATE} tar=null##");
|
|
|
|
|
|
|
|
|
|
task.CUSTOM_SI_CUT_DATE = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_db.Updateable<TaskBCEntity>(task).UpdateColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.SI_CUT_DATE,
|
|
|
|
|
it.CUSTOM_SI_CUT_DATE,
|
|
|
|
|
it.VGM_CUTOFF_TIME,
|
|
|
|
|
it.MANIFEST_CUT_DATE,
|
|
|
|
|
it.CY_CUTOFF_TIME,
|
|
|
|
@ -1376,6 +1412,11 @@ public class TaskBCInfoReadDto
|
|
|
|
|
/// 订舱确认时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> BookingConfirmDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户样单截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> CustomSICutDate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|