优化
This commit is contained in:
@@ -256,7 +256,7 @@ namespace WMS.Web.Repositories
|
||||
AvailableQty = s.AccruedQty - s.ReceiveQty,
|
||||
Remark = s.Remark,
|
||||
ErpDetailId=s.ErpDetailId
|
||||
}).ToListAsync();
|
||||
}).Where(x=>x.AvailableQty>0).ToListAsync();
|
||||
|
||||
//找箱
|
||||
var task_box = await _context.InstockTaskBox.Where(x => ids.Contains(x.TaskId))
|
||||
@@ -279,8 +279,11 @@ namespace WMS.Web.Repositories
|
||||
var response = new List<SourceBillNoNoPurchaseQueryResponse>();
|
||||
foreach (var item in taskList)
|
||||
{
|
||||
if (item.Details.Count != 0)
|
||||
if (item.Details.Count != 0)
|
||||
{
|
||||
response.Add(item);
|
||||
}
|
||||
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user