修复bug
This commit is contained in:
@@ -327,6 +327,8 @@ namespace WMS.Web.Api.Controllers
|
||||
List<PullDownStrResponse> pullList = new List<PullDownStrResponse>();
|
||||
foreach (var c in customers.Data.Where(w => w.Name.Contains(name)))
|
||||
{
|
||||
//排除重复的code
|
||||
if (pullList.Where(f => f.Code == c.Number).Any()) continue;
|
||||
pullList.Add(new PullDownStrResponse()
|
||||
{
|
||||
Id = c.Id.ToString(),
|
||||
|
||||
Reference in New Issue
Block a user