修复bug

This commit is contained in:
18942506660
2023-12-18 16:11:56 +08:00
parent 3fc73df1d7
commit f171eabaa5
4 changed files with 5 additions and 5 deletions

View File

@@ -139,7 +139,7 @@ namespace WMS.Web.Repositories
.OrderByDescending(o => o.changeBox.Id)
.Where(adv => 1 == 1);
if (ids.Count() > 0)
if (!string.IsNullOrEmpty(dto.Creator))
query = query.Where(w => ids.Contains(w.changeBox.CreatorId));
if (!string.IsNullOrEmpty(dto.SrcBox))
query = query.Where(w => EF.Functions.Like(w.srcBox.BoxBillNo, "%" + dto.SrcBox + "%"));