@@ -126,7 +126,7 @@ public class MessageServiceImpl implements MessageService {
}
if (!StringUtils.isEmpty(type)) {
- sql += String.format(" and ms_type = %s", type);
+ sql += String.format(" and ms_type = '%%s%'", type);
// 关键词搜索