|
|
@ -189,8 +189,7 @@ public class PostionLocationAppService |
|
|
|
[HttpPost("get-loc-by-codes")] |
|
|
|
public async Task<List<PostionLocationAgvDTO>> GetLocationByCodesAsync(List<string> codes) |
|
|
|
{ |
|
|
|
|
|
|
|
var ls= await base.GetByCodesAsync(codes).ConfigureAwait(false); |
|
|
|
var ls = await base.GetByCodesAsync(codes).ConfigureAwait(false); |
|
|
|
List<PostionLocationAgvDTO> list = new List<PostionLocationAgvDTO>(); |
|
|
|
foreach (var code in ls) |
|
|
|
{ |
|
|
@ -199,8 +198,6 @@ public class PostionLocationAppService |
|
|
|
dto.LocationCode = code.LocationCode; |
|
|
|
list.Add(dto); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|