collectionStore
liuwf 9 months ago
parent f7d1135e2a
commit f2917b3e89

@ -91,7 +91,7 @@ namespace HighWayIot.Repository.service.Impl
try try
{ {
Expression<Func<BaseSpaceInfo, bool>> exp = s1 => true; Expression<Func<BaseSpaceInfo, bool>> exp = s1 => true;
exp = exp.And(x => x.materialType == null && x.storeCode == store && x.spaceCapacity != x.spaceStock); exp = exp.And(x => x.spaceStatus == 1 && x.materialType == null && x.storeCode == store && x.spaceCapacity != x.spaceStock);
spaceInfos = _mesRepository.GetList(exp); spaceInfos = _mesRepository.GetList(exp);
} }
catch (Exception ex) catch (Exception ex)

Loading…
Cancel
Save