|
@ -765,7 +765,7 @@ public class BaseMenuManageService {
|
|
if(menuDictDOS.size()>0){
|
|
if(menuDictDOS.size()>0){
|
|
for (BaseMenuDictDO menuDictDO:menuDictDOS){
|
|
for (BaseMenuDictDO menuDictDO:menuDictDOS){
|
|
menuIds.add(menuDictDO.getId());
|
|
menuIds.add(menuDictDO.getId());
|
|
menuId +=",";
|
|
|
|
|
|
menuId = menuId+","+menuDictDO.getId()+",";
|
|
}
|
|
}
|
|
menuId = menuId.substring(0,menuId.length()-1);
|
|
menuId = menuId.substring(0,menuId.length()-1);
|
|
}
|
|
}
|
|
@ -820,7 +820,7 @@ public class BaseMenuManageService {
|
|
" recommend_doctor,\n" +
|
|
" recommend_doctor,\n" +
|
|
" puplish_type_name,\n" +
|
|
" puplish_type_name,\n" +
|
|
" recommend_doctor_name from wlyy_knowledge_article_dict a where a.del=1 and " +
|
|
" recommend_doctor_name from wlyy_knowledge_article_dict a where a.del=1 and " +
|
|
" a.category_second IN ( '"+menuId.replaceAll(",","'")+"' ) and a.release_status=1 ";
|
|
|
|
|
|
" a.category_second IN ( '"+menuId.replaceAll(",","','")+"' ) and a.release_status=1 ";
|
|
if(StringUtils.isNotBlank(title)){
|
|
if(StringUtils.isNotBlank(title)){
|
|
sql += " and a.title like %"+title+"%";
|
|
sql += " and a.title like %"+title+"%";
|
|
}
|
|
}
|