接口优化2

This commit is contained in:
tongfei
2023-11-09 16:17:09 +08:00
parent 9e0635f20d
commit a931f74f5a
5 changed files with 31 additions and 16 deletions

View File

@@ -125,8 +125,8 @@ namespace WMS.Web.Domain.Services
if (erp_list.Count != 0)
{
var add_entitys = new List<InStockTask>();
var billNos = erp_list.GroupBy(x => x.FBillNo).Select(x => x.Key).ToList();
foreach (var item in billNos)
var current_billNos = erp_list.GroupBy(x => x.FBillNo).Select(x => x.Key).ToList();
foreach (var item in current_billNos)
{
var dto = new InStockTask();
dto.SourceBillNo = item;