|
@ -767,7 +767,7 @@ public class BaseMenuManageService {
|
|
|
menuIds.add(menuDictDO.getId());
|
|
|
menuId = menuId+","+menuDictDO.getId()+",";
|
|
|
}
|
|
|
menuId = menuId.substring(0,menuId.length()-1);
|
|
|
menuId = menuId.substring(1,menuId.length()-1);
|
|
|
}
|
|
|
}
|
|
|
|
|
@ -822,7 +822,7 @@ public class BaseMenuManageService {
|
|
|
" 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 ";
|
|
|
if(StringUtils.isNotBlank(title)){
|
|
|
sql += " and a.title like %"+title+"%";
|
|
|
sql += " and a.title like '%"+title+"%'";
|
|
|
}
|
|
|
sql += " order by a.release_time desc,a.create_time desc limit "+(page-1)*pageSize+","+pageSize;
|
|
|
list = jdbcTemplate.query(sql,new BeanPropertyRowMapper<>(KnowledgeArticleDictDO.class));
|