菜单修改
This commit is contained in:
@@ -231,7 +231,7 @@ public class MenuServiceImpl implements MenuService {
|
||||
WQLObject menuTab = WQLObject.getWQLObject("sys_menu");
|
||||
JSONArray menus;
|
||||
if (pid != null && !pid.equals("0")) {
|
||||
menus = menuTab.query("menu_id = '" + pid + "'").getResultJSONArray(0);
|
||||
menus = menuTab.query("pid = '" + pid + "'").getResultJSONArray(0);
|
||||
} else {
|
||||
menus = menuTab.query("(pid =0 or pid is null)").getResultJSONArray(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user