Commit cca16971 authored by 黄奎's avatar 黄奎

页面修改

parent a8d4dc83
......@@ -35,6 +35,10 @@ namespace Mall.Repository.User
{
builder.AppendFormat(" AND MenuId IN({0}) ", query.QMenuIds.Trim());
}
if (query.TenantId > 0)
{
builder.AppendFormat(" AND MenuId IN(SELECT MenuId FROM rb_tenant_menu WHERE TenantId={0})", query.TenantId);
}
}
return Get<RB_Menu_Extend>(builder.ToString()).ToList();
}
......
......@@ -1295,7 +1295,7 @@ namespace Mall.WebApi.Controllers.User
public ApiResult GetMenuList()
{
List<object> resultList = new List<object>();
var menuList = menuModule.GetMenuListModule(new RB_Menu_Extend() { });
var menuList = menuModule.GetMenuListModule(new RB_Menu_Extend() { TenantId=RequestParm.TenantId });
var list = new List<RB_Menu_Extend>();
if (RequestParm.EmpId > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment