Change LevelORder to string
This commit is contained in:
parent
80ce27f324
commit
36aa14d7c7
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ namespace BMA.EHR.Report.Service.Services
|
||||||
if (oc == null)
|
if (oc == null)
|
||||||
throw new Exception(GlobalMessages.DataNotFound);
|
throw new Exception(GlobalMessages.DataNotFound);
|
||||||
var thisLevel = (level * 10) + oc.OrganizationOrder.Value;
|
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();
|
var child = await _context.Organizations.AsQueryable().Where(x => x.ParentId == id).ToListAsync();
|
||||||
if (child.Any())
|
if (child.Any())
|
||||||
|
|
@ -893,6 +893,6 @@ namespace BMA.EHR.Report.Service.Services
|
||||||
|
|
||||||
public string Name { get; set; } = string.Empty;
|
public string Name { get; set; } = string.Empty;
|
||||||
|
|
||||||
public int Order { get; set; } = 0;
|
public string Order { get; set; } = "0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue