update 项目管理、片区管理编辑读数据方式更改

This commit is contained in:
2021-07-06 17:25:22 +08:00
parent 6a97b9440b
commit da14389a47
9 changed files with 60 additions and 25 deletions

View File

@@ -64,6 +64,12 @@ namespace Ewide.Application.Service
.ToListAsync();
}
[HttpGet("/houseZone/getById")]
public async Task<dynamic> GetById([Required] string zoneId)
{
return await _sysOrgRep.DetachedEntities.FirstOrDefaultAsync(p => p.Id == zoneId);
}
/// <summary>
/// 分页查询片区
/// </summary>