change - 出库任务创建获取货道明细异常处理

collectionStore
wenjy 1 year ago
parent cdd30af812
commit 6444579446

Binary file not shown.

@ -243,7 +243,7 @@ namespace Aucma.Scada.Business
if (spaceDetails.Count > 0) if (spaceDetails.Count > 0)
{ {
spaceDetails = spaceDetails.Where(x => x.isFlag != 1).ToList(); spaceDetails = spaceDetails.Where(x => x.isFlag != 1).ToList();
if (spaceDetails != null) if (spaceDetails.Count > 0)
{ {
spaceDetail = spaceDetails.OrderBy(x => x.createTime).First(); spaceDetail = spaceDetails.OrderBy(x => x.createTime).First();
} }

Loading…
Cancel
Save