| | |
| | | { |
| | | var repHumanResourcesBaseArea = Db.GetRepository<BaseArea, HumanResourcesDbContextLocator>(); |
| | | var areas = await repHumanResourcesBaseArea.AsQueryable().AsNoTracking() |
| | | .OrderBy(it => it.ParentId) |
| | | .OrderBy(it => it.AreaCode) |
| | | .ToListAsync(); |
| | | var entities = new List<DictionaryData>(); |
| | | var categoryId = new Guid("B21FE000-BB7F-4498-08E9-08DDD572EF73"); |
| | |
| | | /// <summary> |
| | | /// 查询数据字典类别选择器数据 |
| | | /// </summary> |
| | | [Resource([EnumResourceController.Dictionary], AllowAnonymous = false)] |
| | | [Resource([EnumResourceController.Dictionary], AllowAnonymous = true)] |
| | | public class GetDictionaryCategorySelectQuery : SelectQuery<Guid, GetDictionaryCategorySelectQueryOption> |
| | | { |
| | | } |
| | |
| | | /// <summary> |
| | | /// 查询数据字典选择器 |
| | | /// </summary> |
| | | [Resource([EnumResourceController.Dictionary], AllowAnonymous = false)] |
| | | [Resource([EnumResourceController.Dictionary], AllowAnonymous = true)] |
| | | public class GetDictionaryDataSelectQuery : SelectQuery<Guid, GetDictionaryDataSelectQueryResultOption> |
| | | { |
| | | /// <summary> |