|
|
|
@ -1582,7 +1582,8 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
|
|
|
|
|
Logger.Log(NLog.LogLevel.Info, $"批次={batchNo} slotId={slotId} 开始请求比对结果");
|
|
|
|
|
|
|
|
|
|
var compareResult = await ExcuteCompare(bcSrcDto, bcTargetDto);
|
|
|
|
|
var rlt = await ExcuteCompare(bcSrcDto, bcTargetDto);
|
|
|
|
|
var compareResult = rlt.Data;
|
|
|
|
|
|
|
|
|
|
Logger.Log(NLog.LogLevel.Info, $"批次={batchNo} slotId={slotId} 请求比对结果完成,结果={JsonConvert.SerializeObject(compareResult)}");
|
|
|
|
|
|
|
|
|
@ -1611,9 +1612,9 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
CreateTime = nowDate,
|
|
|
|
|
UpdateTime = nowDate,
|
|
|
|
|
CreateBy = long.Parse(user.UserId),
|
|
|
|
|
//CreatedUserName = UserManager.Name,
|
|
|
|
|
CreateUserName = user.UserName,
|
|
|
|
|
UpdateBy = long.Parse(user.UserId),
|
|
|
|
|
//UpdatedUserName = UserManager.Name,
|
|
|
|
|
UpdateUserName = user.UserName,
|
|
|
|
|
CompareType = "BC_MODIFY",
|
|
|
|
|
CompareRlt = JsonConvert.SerializeObject(compareResult.extra.ShowDetailList),
|
|
|
|
|
};
|
|
|
|
@ -1625,7 +1626,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
hisInfo.CompareDiffNum = compareResult.extra.IsExistsDiff ? compareResult.extra.ShowDetailList.Count : 0;
|
|
|
|
|
hisInfo.UpdateTime = nowDate;
|
|
|
|
|
hisInfo.UpdateBy = long.Parse(user.UserId);
|
|
|
|
|
//hisInfo.UpdatedUserName = user.UserName;
|
|
|
|
|
hisInfo.UpdateUserName = user.UserName;
|
|
|
|
|
|
|
|
|
|
hisInfo.CompareRlt = JsonConvert.SerializeObject(compareResult.extra.ShowDetailList);
|
|
|
|
|
|
|
|
|
@ -1636,7 +1637,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
it.CompareRlt,
|
|
|
|
|
it.UpdateTime,
|
|
|
|
|
it.UpdateBy,
|
|
|
|
|
//it.UpdatedUserName
|
|
|
|
|
it.UpdateUserName
|
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
|
}
|
|
|
|
|
//throw Oops.Oh($"舱位主键{slotId}请求BC比对失败,返回为空");
|
|
|
|
@ -1660,8 +1661,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
/// <param name="bcSrcDto">BC详情</param>
|
|
|
|
|
/// <param name="bcTargetDto">BC变更后详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
[NonAction]
|
|
|
|
|
public async Task<TaskManageExcuteResultDto> ExcuteCompare(ParserBCInfoDto bcSrcDto, ParserBCInfoDto bcTargetDto)
|
|
|
|
|
public async Task<DataResult<TaskManageExcuteResultDto>> ExcuteCompare(ParserBCInfoDto bcSrcDto, ParserBCInfoDto bcTargetDto)
|
|
|
|
|
{
|
|
|
|
|
TaskManageExcuteResultDto model = null;
|
|
|
|
|
/*
|
|
|
|
@ -1715,7 +1715,10 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return model;
|
|
|
|
|
if (model != null)
|
|
|
|
|
return DataResult<TaskManageExcuteResultDto>.Success(model);
|
|
|
|
|
|
|
|
|
|
return DataResult<TaskManageExcuteResultDto>.FailedData(model); ;
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
@ -2833,16 +2836,6 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Task<TaskManageOrderResultDto> IBookingSlotService.CreateBookingOrder(BookingGenerateDto model)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Task<string> IBookingSlotService.ExcuteCompare(ParserBCInfoDto bcSrcDto, ParserBCInfoDto bcTargetDto)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Task<List<BookingSlotBaseSaveOutput>> IBookingSlotService.GetSlotList(long[] ids)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|