|
|
@ -1539,7 +1539,7 @@ namespace Myshipping.Application
|
|
|
|
model.STATUS = TaskStatusEnum.Complete.ToString();
|
|
|
|
model.STATUS = TaskStatusEnum.Complete.ToString();
|
|
|
|
model.STATUS_NAME = TaskStatusEnum.Complete.GetDescription();
|
|
|
|
model.STATUS_NAME = TaskStatusEnum.Complete.GetDescription();
|
|
|
|
|
|
|
|
|
|
|
|
_taskBaseInfoRepository.AsUpdateable(model).UpdateColumns(it => new
|
|
|
|
await _taskBaseInfoRepository.AsUpdateable(model).UpdateColumns(it => new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
it.COMPLETE_DATE,
|
|
|
|
it.COMPLETE_DATE,
|
|
|
|
it.COMPLETE_DEAL,
|
|
|
|
it.COMPLETE_DEAL,
|
|
|
@ -1547,7 +1547,7 @@ namespace Myshipping.Application
|
|
|
|
it.IS_COMPLETE,
|
|
|
|
it.IS_COMPLETE,
|
|
|
|
it.STATUS,
|
|
|
|
it.STATUS,
|
|
|
|
it.STATUS_NAME
|
|
|
|
it.STATUS_NAME
|
|
|
|
}).ExecuteCommand();
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (taskOperTypeEnum == TaskOperTypeEnum.CANCEL_TASK)
|
|
|
|
else if (taskOperTypeEnum == TaskOperTypeEnum.CANCEL_TASK)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1556,7 +1556,7 @@ namespace Myshipping.Application
|
|
|
|
model.STATUS = TaskStatusEnum.Cancel.ToString();
|
|
|
|
model.STATUS = TaskStatusEnum.Cancel.ToString();
|
|
|
|
model.STATUS_NAME = TaskStatusEnum.Cancel.GetDescription();
|
|
|
|
model.STATUS_NAME = TaskStatusEnum.Cancel.GetDescription();
|
|
|
|
|
|
|
|
|
|
|
|
_taskBaseInfoRepository.AsUpdateable(model).UpdateColumns(it => new
|
|
|
|
await _taskBaseInfoRepository.AsUpdateable(model).UpdateColumns(it => new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
it.COMPLETE_DATE,
|
|
|
|
it.COMPLETE_DATE,
|
|
|
|
it.COMPLETE_DEAL,
|
|
|
|
it.COMPLETE_DEAL,
|
|
|
@ -1564,7 +1564,7 @@ namespace Myshipping.Application
|
|
|
|
it.IS_COMPLETE,
|
|
|
|
it.IS_COMPLETE,
|
|
|
|
it.STATUS,
|
|
|
|
it.STATUS,
|
|
|
|
it.STATUS_NAME
|
|
|
|
it.STATUS_NAME
|
|
|
|
}).ExecuteCommand();
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (model.TASK_TYPE == TaskBusiTypeEnum.ABORT_CHANGE_SHIP.ToString())
|
|
|
|
else if (model.TASK_TYPE == TaskBusiTypeEnum.ABORT_CHANGE_SHIP.ToString())
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1585,14 +1585,14 @@ namespace Myshipping.Application
|
|
|
|
model.UpdatedUserId = UserManager.UserId;
|
|
|
|
model.UpdatedUserId = UserManager.UserId;
|
|
|
|
model.UpdatedUserName = UserManager.Name;
|
|
|
|
model.UpdatedUserName = UserManager.Name;
|
|
|
|
|
|
|
|
|
|
|
|
_taskBaseInfoRepository.AsUpdateable(model).UpdateColumns(it => new
|
|
|
|
await _taskBaseInfoRepository.AsUpdateable(model).UpdateColumns(it => new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
it.UpdatedTime,
|
|
|
|
it.UpdatedTime,
|
|
|
|
it.UpdatedUserId,
|
|
|
|
it.UpdatedUserId,
|
|
|
|
it.UpdatedUserName,
|
|
|
|
it.UpdatedUserName,
|
|
|
|
it.STATUS,
|
|
|
|
it.STATUS,
|
|
|
|
it.STATUS_NAME
|
|
|
|
it.STATUS_NAME
|
|
|
|
}).ExecuteCommand();
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|