This commit is contained in:
2025-03-24 17:11:05 +08:00
parent 28e899ed46
commit c12d428650
7 changed files with 32 additions and 26 deletions

View File

@@ -336,6 +336,7 @@ namespace ZR.Service.mes.wms
list = list.Where(it => it.RealQuantity != 0 || it.Quantity != 0)
.Where(it => !string.IsNullOrEmpty(it.Partnumber))
.DistinctBy(it => it.Partnumber)
.OrderBy(it => it.RealQuantity)
.ToList();
int total = list.Count;