Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2023-04-21 09:13:57 +08:00
32 changed files with 1034 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
using JNPF.Systems.Entitys.Dto.Organize;
using System.Linq.Expressions;
using JNPF.Systems.Entitys.Dto.Organize;
using JNPF.Systems.Entitys.Permission;
namespace JNPF.Systems.Interfaces.Permission;
@@ -21,14 +22,12 @@ public interface IOrganizeService
/// <summary>
/// 获取机构列表
/// 提供给其他服务使用.
/// </summary>
/// <returns></returns>
Task<List<OrganizeEntity>> GetListAsync();
Task<List<OrganizeEntity>> GetListAsync(Expression<Func<OrganizeEntity, bool>> expression = null);
/// <summary>
/// 获取公司列表
/// 提供给其他服务使用.
/// </summary>
/// <returns></returns>
Task<List<OrganizeEntity>> GetCompanyListAsync();