|
|
@ -188,11 +188,22 @@ public class PostionLocationAppService |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[HttpGet("get-all-list")] |
|
|
|
public async Task<List<PostionLocationDTO>> GetAllListAsync() |
|
|
|
[HttpPost("get-all-list")] |
|
|
|
public async Task<List<PostionLocationAgvDTO>> GetAllListAsync() |
|
|
|
{ |
|
|
|
var result =await base.GetAllListByFilterAsync(new SfsBaseDataRequestInputBase() ).ConfigureAwait(false); |
|
|
|
return result; |
|
|
|
var result =await base.GetAllListByFilterAsync(new SfsBaseDataRequestInputBase()).ConfigureAwait(false); |
|
|
|
List<PostionLocationAgvDTO> list = new List<PostionLocationAgvDTO>(); |
|
|
|
foreach (var item in result) |
|
|
|
{ |
|
|
|
PostionLocationAgvDTO dto = new PostionLocationAgvDTO(); |
|
|
|
dto.LocationCode = item.LocationCode; |
|
|
|
dto.Code= item.Code; |
|
|
|
dto.Name = item.Name; |
|
|
|
list.Add(dto); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|