|
@ -785,43 +785,43 @@ public class BaseMenuManageService {
|
|
sqlTmp = " null content ," ;
|
|
sqlTmp = " null content ," ;
|
|
}
|
|
}
|
|
String sql = "select a.id ,\n" +
|
|
String sql = "select a.id ,\n" +
|
|
" title ,\n" +
|
|
|
|
" subtitle ,\n" +
|
|
|
|
" intro ,\n" +
|
|
|
|
" type,\n" +
|
|
|
|
" category_first ,\n" +
|
|
|
|
" category_first_name ,\n" +
|
|
|
|
" category_second ,\n" +
|
|
|
|
" category_second_name ,\n" +
|
|
|
|
|
|
" a.title ,\n" +
|
|
|
|
" a.subtitle ,\n" +
|
|
|
|
" a.intro ,\n" +
|
|
|
|
" a.type,\n" +
|
|
|
|
" a.category_first ,\n" +
|
|
|
|
" a.category_first_name ,\n" +
|
|
|
|
" a.category_second ,\n" +
|
|
|
|
" a.category_second_name ,\n" +
|
|
sqlTmp +
|
|
sqlTmp +
|
|
" image ,\n" +
|
|
|
|
" img ,\n" +
|
|
|
|
" url,\n" +
|
|
|
|
" vedio_url ,\n" +
|
|
|
|
" create_user ,\n" +
|
|
|
|
" create_time,\n" +
|
|
|
|
" update_time,\n" +
|
|
|
|
" del,\n" +
|
|
|
|
" status,\n" +
|
|
|
|
" used,\n" +
|
|
|
|
" source ,\n" +
|
|
|
|
" cancel_reason ,\n" +
|
|
|
|
" read_count,\n" +
|
|
|
|
" collection,\n" +
|
|
|
|
" fabulous,\n" +
|
|
|
|
" comment ,\n" +
|
|
|
|
" is_share,\n" +
|
|
|
|
" create_user_name ,\n" +
|
|
|
|
" create_user_dept ,\n" +
|
|
|
|
" create_user_dept_name ,\n" +
|
|
|
|
" check_time,\n" +
|
|
|
|
" release_status,\n" +
|
|
|
|
" release_time,\n" +
|
|
|
|
" puplish_type,\n" +
|
|
|
|
" recommend_doctor,\n" +
|
|
|
|
" puplish_type_name,\n" +
|
|
|
|
|
|
" a.image ,\n" +
|
|
|
|
" a.img ,\n" +
|
|
|
|
" a.url,\n" +
|
|
|
|
" a.vedio_url ,\n" +
|
|
|
|
" a.create_user ,\n" +
|
|
|
|
" a.create_time,\n" +
|
|
|
|
" a.update_time,\n" +
|
|
|
|
" a.del,\n" +
|
|
|
|
" a.status,\n" +
|
|
|
|
" a.used,\n" +
|
|
|
|
" a.source ,\n" +
|
|
|
|
" a.cancel_reason ,\n" +
|
|
|
|
" a.read_count,\n" +
|
|
|
|
" a.collection,\n" +
|
|
|
|
" a.fabulous,\n" +
|
|
|
|
" a.comment ,\n" +
|
|
|
|
" a.is_share,\n" +
|
|
|
|
" a.create_user_name ,\n" +
|
|
|
|
" a.create_user_dept ,\n" +
|
|
|
|
" a.create_user_dept_name ,\n" +
|
|
|
|
" a.check_time,\n" +
|
|
|
|
" a.release_status,\n" +
|
|
|
|
" a.release_time,\n" +
|
|
|
|
" a.puplish_type,\n" +
|
|
|
|
" a.recommend_doctor,\n" +
|
|
|
|
" a.puplish_type_name,\n" +
|
|
" d.photo doctorImage,\n" +
|
|
" d.photo doctorImage,\n" +
|
|
" recommend_doctor_name from wlyy_knowledge_article_dict a " +
|
|
|
|
|
|
" a.recommend_doctor_name from wlyy_knowledge_article_dict a " +
|
|
" left join base_doctor d on a.create_user=d.id where a.del=1 and " +
|
|
" left join base_doctor d on a.create_user=d.id 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)){
|