优化箱唛列表
This commit is contained in:
@@ -120,6 +120,8 @@ namespace WMS.Web.Repositories
|
||||
var mids = materials.Select(x => x.MaterialId).ToList();
|
||||
query = query.Where(w => mids.Contains(w.order.MaterialId));
|
||||
}
|
||||
else
|
||||
query = query.Where(w => w.order.MaterialId == 0);
|
||||
}
|
||||
|
||||
if (cr_ids.Count != 0)
|
||||
@@ -152,7 +154,9 @@ namespace WMS.Web.Repositories
|
||||
IsTail=s.detail.IsTail,
|
||||
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, companyId, s.order.CreatorId),
|
||||
CreateTime = s.order.CreateTime.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
Remark = s.order.Remark
|
||||
Remark = s.order.Remark,
|
||||
ProductQty=s.order.ProductQty,
|
||||
|
||||
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();
|
||||
|
||||
return (list, total);
|
||||
|
||||
Reference in New Issue
Block a user