diff --git a/Services/OrganizationReportService.cs b/Services/OrganizationReportService.cs index b4e5a8d..e1d5966 100644 --- a/Services/OrganizationReportService.cs +++ b/Services/OrganizationReportService.cs @@ -139,7 +139,7 @@ namespace BMA.EHR.Report.Service.Services if (oc == null) throw new Exception(GlobalMessages.DataNotFound); var thisLevel = (level * 10) + oc.OrganizationOrder.Value; - ret.Add(new OrganizationItem { Id = oc.Id, Order = thisLevel }); + ret.Add(new OrganizationItem { Id = oc.Id, Order = thisLevel.ToString() }); var child = await _context.Organizations.AsQueryable().Where(x => x.ParentId == id).ToListAsync(); if (child.Any()) @@ -893,6 +893,6 @@ namespace BMA.EHR.Report.Service.Services public string Name { get; set; } = string.Empty; - public int Order { get; set; } = 0; + public string Order { get; set; } = "0"; } }