修改了所有的都更改箱号

This commit is contained in:
2025-05-06 09:13:25 +08:00
parent a93c088c98
commit 1f61d3ca50
4 changed files with 20 additions and 5 deletions

View File

@@ -396,7 +396,7 @@ namespace BarCode.Web.Repositories
var query = _context.SerialNumbers.AsNoTracking()
.OrderByDescending(o => o.CompleteCartonTime)//以装箱时间先后排序
.Where(f => f.BoxId == dto.BoxId);
.Where(f => f.BoxId == dto.BoxId && f.isNotCount!="1");
int total = await query.CountAsync();
var list = await query.Select(s => new SerialNumbersResponse()