|
|
|
@ -387,15 +387,15 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
var userList = new List<long>();
|
|
|
|
|
if (req.OrderProgress =="2") //已出号未申报 发起退舱入池任务 推给当票商务
|
|
|
|
|
{
|
|
|
|
|
userList.Add(entity.LaneId);
|
|
|
|
|
userList.Add((long)entity.LanerId);
|
|
|
|
|
var taskReq = new TaskCreationRequest()
|
|
|
|
|
{
|
|
|
|
|
BusinessId = info.Id,
|
|
|
|
|
BusinessId = newKey,
|
|
|
|
|
BusinessType = BusinessType.OceanShippingExport,
|
|
|
|
|
TaskTypeName = TaskBaseTypeEnum.RETURN_CABIN_POOL.ToString(),
|
|
|
|
|
TaskTitle = $"【{TaskBaseTypeEnum.RETURN_CABIN_POOL.GetDescription()}】{info?.CustomerNo}",
|
|
|
|
|
TaskDescription = $"【{TaskBaseTypeEnum.RETURN_CABIN_POOL.GetDescription()}】{info?.CustomerNo}",
|
|
|
|
|
RecvUserIdList = userList.ToArray()
|
|
|
|
|
TaskTitle = $"【{TaskBaseTypeEnum.RETURN_CABIN_POOL.GetDescription()}】{entity?.CustomerNo}",
|
|
|
|
|
TaskDescription = $"【{TaskBaseTypeEnum.RETURN_CABIN_POOL.GetDescription()}】{entity?.CustomerNo}",
|
|
|
|
|
RecvUserIdList = userList.ToArray(),
|
|
|
|
|
};
|
|
|
|
|
var result = await taskService.CreateTaskAsync(taskReq, false);
|
|
|
|
|
if (!result.Succeeded)
|
|
|
|
@ -423,7 +423,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
await tenantDb.Ado.CommitTranAsync();
|
|
|
|
|
return await Task.FromResult(DataResult.Successed("改配成功!"));
|
|
|
|
|
return await Task.FromResult(DataResult.Successed("发起改配成功!"));
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
@ -516,7 +516,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
var userList = new List<long>();
|
|
|
|
|
if (info.OrderProgress =="2")//已出号未申报 发起退舱入池任务 推给当票商务
|
|
|
|
|
{
|
|
|
|
|
userList.Add(info.LaneId);
|
|
|
|
|
userList.Add((long)info.LaneId);
|
|
|
|
|
var taskReq = new TaskCreationRequest()
|
|
|
|
|
{
|
|
|
|
|
BusinessId = info.Id,
|
|
|
|
|