@@ -127,7 +127,7 @@
AND #{endTaggingTime} >= insert_time
</if>
<if test="categoryId != null and categoryId != '' ">
- AND #{categoryId} = category_id
+ AND elem.value->>'category_id' = #{categoryId}
GROUP BY
elem->>'tag_name'