Browse Source

[MODIFY]接口增加条件,已完结的案子不显示

dev_wp
zhaozhenjing 3 months ago
parent
commit
157056efb8
  1. 3
      src/2.services/ATS.NonCustodial.Application/Impl/Business/AppManagementService.cs

3
src/2.services/ATS.NonCustodial.Application/Impl/Business/AppManagementService.cs

@ -182,7 +182,8 @@ namespace ATS.NonCustodial.Application.Impl.Business
/// </remarks>
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);

Loading…
Cancel
Save