任务详情
This commit is contained in:
@@ -556,7 +556,8 @@ namespace WMS.Web.Domain.Services
|
||||
foreach (var item in dto.Boxs)
|
||||
{
|
||||
var taskBox = _mapper.Map<InStockTaskBox>(item);
|
||||
taskBox.TaskId = entity.Id;
|
||||
taskBox.TaskId = entity.Id;
|
||||
taskBox.Receiver(staffId);
|
||||
var current_dto_box_dets = boxEntitys.Where(x => x.Id == item.BoxId).SelectMany(x => x.Details).ToList();
|
||||
taskBox.Details = _mapper.Map<List<InStockTaskBoxDetails>>(current_dto_box_dets);
|
||||
taskBox.Details.ForEach(x => { x.ErpDetailId = item.ErpDetailId; });
|
||||
|
||||
Reference in New Issue
Block a user