修复bug
This commit is contained in:
@@ -203,7 +203,7 @@ namespace WMS.Web.Repositories
|
||||
SerialNumbers = (string.Join(",", x.detail.SerialNumbers).TrimEnd(','))
|
||||
|
||||
}).ToListAsync();
|
||||
//这里不知道为什么左连接会查出重复多余数据 需要去重
|
||||
//左连接中 右表中的数据如果有多条,没办法清楚显示那一条 于是就显示了多条 数据就重复
|
||||
boxList = boxList.GroupBy(g => g.DetailId).Select(s => s.First()).ToList();
|
||||
|
||||
var boxIds = boxList.GroupBy(x => x.BoxId).Select(x => x.Key).ToList();
|
||||
|
||||
Reference in New Issue
Block a user