@@ -8,7 +8,7 @@
select title,thumbnail,created_time,content from information where status is true and deleted is true
<choose>
<when test="categoryId != null">
- and JSON_CONTAINS(category_ids,'${categoryId}') = 1
+ and JSON_CONTAINS(category_ids,'"${categoryId}"') = 1
</when>
<otherwise>
and recommend is true