|
@ -471,8 +471,9 @@ public class BaseMenuManageService {
|
|
|
" t.model_id as \"modelId\", " +
|
|
|
" t.model_name as \"modelName\", " +
|
|
|
" t.menu_id as \"menuId\", " +
|
|
|
" t.menu_name as \"menuName\", " +
|
|
|
" m.name as \"menuName\", " +
|
|
|
" t.is_del as \"isDel\"," +
|
|
|
" m.status as \"status\"," +
|
|
|
" t.create_time as \"createTime\"," +
|
|
|
" t.menu_sort as \"menuSort\"," +
|
|
|
" t.style_code as \"styleCode\"," +
|
|
@ -486,17 +487,17 @@ public class BaseMenuManageService {
|
|
|
" t.model_id as \"modelId\", " +
|
|
|
" t.model_name as \"modelName\", " +
|
|
|
" t.menu_id as \"menuId\", " +
|
|
|
" t.menu_name as \"menuName\", " +
|
|
|
" m.name as \"menuName\", " +
|
|
|
" t.is_del as \"isDel\"," +
|
|
|
" t.create_time as \"createTime\"," +
|
|
|
" t.menu_sort as \"menuSort\"," +
|
|
|
" t.style_code as \"styleCode\"," +
|
|
|
" m.status as \"status\"," +
|
|
|
" t.style_name as \"styleName\" " +
|
|
|
" from base_menu_show t left join " +
|
|
|
" base_link_dict m on t.menu_id= m.id" +
|
|
|
" where t.is_del ='1' and t.model_id='03' and m.status='1' order by t.menu_sort asc ";
|
|
|
" where t.is_del ='1' and t.model_id='03' order by t.menu_sort asc ";
|
|
|
List<Map<String,Object>> listLink=hibenateUtils.createSQLQuery(sqlLink);
|
|
|
|
|
|
for (Map<String,Object> map:listModel){
|
|
|
List<Map<String,Object>> child = new ArrayList<>();
|
|
|
if("03".equalsIgnoreCase(map.get("modelId").toString())){
|
|
@ -508,8 +509,8 @@ public class BaseMenuManageService {
|
|
|
child.add(childMap);
|
|
|
}
|
|
|
}
|
|
|
map.put("childList",child);
|
|
|
}
|
|
|
map.put("childList",child);
|
|
|
}
|
|
|
return listModel;
|
|
|
}
|