bug修复3
This commit is contained in:
@@ -441,7 +441,7 @@ namespace WMS.Web.Domain.Services
|
||||
{
|
||||
var taskBox = _mapper.Map<InStockTaskBox>(item);
|
||||
taskBox.TaskId = entity.Id;
|
||||
var current_dto_box_dets= boxEntitys.Where(x => x.Id == item.BoxId).Select(x=>x.Details).ToList();
|
||||
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; });
|
||||
taskBoxAdd.Add(taskBox);
|
||||
|
||||
Reference in New Issue
Block a user