|
|
|
@ -182,7 +182,8 @@ namespace ATS.NonCustodial.Application.Impl.Business |
|
|
|
/// </remarks> |
|
|
|
/// </remarks> |
|
|
|
public async Task<IResultOutput<List<SupervisedPersonListOutput>>> GetSupervisedPersonListByName(string? name) |
|
|
|
public async Task<IResultOutput<List<SupervisedPersonListOutput>>> GetSupervisedPersonListByName(string? name) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var rtn = (await GetCaseListDetail(name)).Where(w => w.Latitude != null && w.Longitude != null).ToList(); |
|
|
|
//CaseProgressEnum案件已结束的不再展示 |
|
|
|
|
|
|
|
var rtn = (await GetCaseListDetail(name)).Where(w => w.Latitude != null && w.Longitude != null&&w.CaseProgress!= CaseProgressEnum.Closed).ToList(); |
|
|
|
|
|
|
|
|
|
|
|
//返回结果 |
|
|
|
//返回结果 |
|
|
|
return (IResultOutput<List<SupervisedPersonListOutput>>)ResultOutput.Ok(rtn); |
|
|
|
return (IResultOutput<List<SupervisedPersonListOutput>>)ResultOutput.Ok(rtn); |
|
|
|
|