|
@ -635,7 +635,13 @@ public class BaseMenuManageService {
|
|
|
" t.menu_img as \"menuImg\" " +
|
|
|
"from base_menu_dict t where 1=1 and t.is_del ='1' ";
|
|
|
if (StringUtils.isNoneBlank(parentId)){
|
|
|
sql+=" and t.parent_id='"+parentId+"'";
|
|
|
String str[]=parentId.split(",");
|
|
|
String parentIds = "";
|
|
|
for (int i=0;i<str.length;i++){
|
|
|
parentIds +="'"+str[i]+"',";
|
|
|
}
|
|
|
parentIds.substring(0,parentIds.length()-1);
|
|
|
sql+=" and t.parent_id in ("+parentIds+") ";
|
|
|
}
|
|
|
if (status!=null){
|
|
|
sql+=" and t.status="+status+"";
|