改箱去掉仓库

This commit is contained in:
18942506660
2023-11-01 09:38:11 +08:00
parent bde5eef526
commit 6b061fc3d7
3 changed files with 0 additions and 10 deletions

View File

@@ -18,10 +18,6 @@ namespace WMS.Web.Core.Dto.ChangeBoxRecord
/// </summary>
public string DestBox { get; set; }
/// <summary>
/// 仓库
/// </summary>
public int? StockId { get; set; }
/// <summary>
/// 原仓位ID
/// </summary>
public int? SrcSubStockId { get; set; }

View File

@@ -22,10 +22,6 @@ namespace WMS.Web.Core.Dto.ChangeBoxRecord
/// </summary>
public string Specifications { get; set; }
/// <summary>
/// 仓库
/// </summary>
public string Stock { get; set; }
/// <summary>
/// 序列号
/// </summary>
public string SerialNumbers { get; set; }

View File

@@ -127,8 +127,6 @@ 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.StockId != null)
// query = query.Where(w => w.changeBox.StockId == dto.StockId);
//if (dto.SrcSubStockId != null)
// query = query.Where(w => w.changeBox.SrcSubStockId == dto.SrcSubStockId);
//if (dto.DestSubStockId != null)