LAPTOP-KB9HII50\70708 пре 1 година
родитељ
комит
a9b082727d

+ 2 - 2
business/base-service/src/main/java/com/yihu/jw/article/service/BaseMenuManageService.java

@ -765,7 +765,7 @@ public class BaseMenuManageService {
            if(menuDictDOS.size()>0){
                for (BaseMenuDictDO menuDictDO:menuDictDOS){
                    menuIds.add(menuDictDO.getId());
                    menuId +=",";
                    menuId = menuId+","+menuDictDO.getId()+",";
                }
                menuId = menuId.substring(0,menuId.length()-1);
            }
@ -820,7 +820,7 @@ public class BaseMenuManageService {
                "  recommend_doctor,\n" +
                "  puplish_type_name,\n" +
                "  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)){
            sql += " and a.title like %"+title+"%";
        }