|
|
|
@ -312,7 +312,7 @@ namespace Shentun.Peis.MyUser |
|
|
|
[HttpPost("api/identity/users/GetListByOperatorType")] |
|
|
|
public async Task<List<ListByOperatorTypeDto>> GetListByOperatorTypeAsync(OperatorTypeIuputDto input) |
|
|
|
{ |
|
|
|
var entlist = await _identityUserRepository.GetListAsync(); |
|
|
|
var entlist = await _identityUserRepository.GetListAsync(m => m.IsDeleted == false); |
|
|
|
var entlistDto = entlist.Where(m => input.OperatorTypes.Contains(m.GetProperty<char>("operator_type"))).Select(s => new ListByOperatorTypeDto |
|
|
|
{ |
|
|
|
Id = s.Id, |
|
|
|
|