调整获取菜单SQL

This commit is contained in:
zmrid 2023-02-19 15:52:22 +08:00
parent 42077fe629
commit 06b3b74428
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace iMES.Custom.Controllers
[Route("getDesktopMenu"), HttpGet]
public JsonResult GetDesktopMenu()
{
string sql = " select top 8 * from Base_DesktopMenu where Enable=1 order by CreateDate desc ";
string sql = " select * from Base_DesktopMenu where Enable=1 order by CreateDate desc ";
List<Base_DesktopMenu> list = DBServerProvider.SqlDapper.QueryList<Base_DesktopMenu>(sql, new { });
return JsonNormal(list);
}