修复bug
This commit is contained in:
@@ -210,7 +210,9 @@ namespace WMS.Web.Api.Controllers
|
||||
//剔除已入库的箱子
|
||||
foreach (var boxid in instockBoxList.Distinct().ToList())
|
||||
{
|
||||
remobox.Add(receiveBoxList.Where(x => x.BoxId == boxid).First());
|
||||
var reBox= receiveBoxList.Where(x => x.BoxId == boxid).FirstOrDefault();
|
||||
if (reBox != null)
|
||||
remobox.Add(reBox);
|
||||
}
|
||||
}
|
||||
if (remobox.Count != 0)
|
||||
|
||||
Reference in New Issue
Block a user