修复bug

This commit is contained in:
18942506660
2024-04-09 09:27:52 +08:00
parent 1f65acf923
commit ec1aa564d7
2 changed files with 2 additions and 0 deletions

View File

@@ -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(),