完善菜单管理

This commit is contained in:
橙子
2022-04-29 00:31:08 +08:00
parent 90b39d075d
commit c651b60c59
6 changed files with 19 additions and 36 deletions

View File

@@ -36,7 +36,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
//暂未制作逻辑删除与多租户的过滤
public async Task<Result> GetMenuTree()
{
return Result.Success().SetData(await _iMenuService.GetMenuTreeAsync());
return Result.Success().SetData(await _iMenuService. GetMenuTreeAsync());
}
}
}

View File

@@ -23,6 +23,6 @@ namespace Yi.Framework.Repository
public Task<bool> UpdateIgnoreNullAsync(T entity);
public Task<List<S>> UseSqlAsync<S>(string sql);
public Task<bool> UseSqlAsync(string sql);
ISugarQueryable<T> QueryConditionHandler(QueryCondition pars);
}
}

View File

@@ -134,7 +134,7 @@ namespace Yi.Framework.Repository
private ISugarQueryable<T> QueryConditionHandler(QueryCondition pars)
public ISugarQueryable<T> QueryConditionHandler(QueryCondition pars)
{
var sugarParamters = pars.Parameters.Select(it => (IConditionalModel)new ConditionalModel()
{