diff --git a/platform/sql/sql.auto.go b/platform/sql/sql.auto.go index 7481ff0c..7db979d5 100755 --- a/platform/sql/sql.auto.go +++ b/platform/sql/sql.auto.go @@ -928,8 +928,8 @@ where {{end}} and sys_menu.is_delete {{.ne}} 1 - -order by {{.sort}}LIMIT {{.size}} OFFSET {{.offset}} +order by {{.sort}} +LIMIT {{.size}} OFFSET {{.offset}} ` SQLTPL["sys_menu_sidebar.tpl"] = `select distinct sys_menu.id, sys_menu.parent, sys_menu.code, sys_menu.component, sys_menu.hidden, sys_menu.icon, sys_menu.name, sys_menu.order, sys_menu.url diff --git a/platform/sql/sys_menu/sys_menu_page_select.tpl b/platform/sql/sys_menu/sys_menu_page_select.tpl index 41885e63..596ac6a3 100755 --- a/platform/sql/sys_menu/sys_menu_page_select.tpl +++ b/platform/sql/sys_menu/sys_menu_page_select.tpl @@ -21,5 +21,5 @@ where {{end}} and sys_menu.is_delete {{.ne}} 1 - -order by {{.sort}}LIMIT {{.size}} OFFSET {{.offset}} +order by {{.sort}} +LIMIT {{.size}} OFFSET {{.offset}}