修复bug
This commit is contained in:
@@ -149,10 +149,10 @@ namespace WMS.Web.Repositories
|
||||
query = query.Where(w => EF.Functions.Like(w.srcBox.BoxBillNo, "%" + dto.SrcBox + "%"));
|
||||
if (!string.IsNullOrEmpty(dto.DestBox))
|
||||
query = query.Where(w => EF.Functions.Like(w.destBox.BoxBillNo, "%" + dto.DestBox + "%"));
|
||||
if (dto.SrcSubStockId != null)
|
||||
query = query.Where(w => w.changeBox.SrcSubStockId == dto.SrcSubStockId);
|
||||
if (dto.DestSubStockId != null)
|
||||
query = query.Where(w => w.changeBox.DestSubStockId == dto.DestSubStockId);
|
||||
if (dto.SrcSubStockCode != null)
|
||||
query = query.Where(w => w.changeBox.SrcSubStockCode == dto.SrcSubStockCode);
|
||||
if (dto.DestSubStockCode != null)
|
||||
query = query.Where(w => w.changeBox.DestSubStockCode == dto.DestSubStockCode);
|
||||
if (dto.CreateBeginDate != null)
|
||||
query = query.Where(w => w.changeBox.CreateTime >= dto.CreateBeginDate);
|
||||
if (dto.CreateEndDate != null)
|
||||
@@ -172,8 +172,8 @@ namespace WMS.Web.Repositories
|
||||
DestBox = s.destBox.BoxBillNo,
|
||||
Qty=s.changeBox.Qty,
|
||||
DestBoxOrg= _singleDataService.GetSingleData(SingleAction.Orgs, companyId, s.changeBox.DestBoxOrgCode),
|
||||
SrcSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, companyId, s.changeBox.SrcSubStockId),
|
||||
DestSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, companyId, s.changeBox.DestSubStockId),
|
||||
SrcSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, companyId, s.changeBox.SrcSubStockCode),
|
||||
DestSubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, companyId, s.changeBox.DestSubStockCode),
|
||||
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, companyId, s.changeBox.CreatorId),
|
||||
CreateTime = s.changeBox.CreateTime.DateToStringSeconds()
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user