Przeglądaj źródła

修改 标签分布统计相关数据查询接口

2507040827 4 tygodni temu
rodzic
commit
643e5d0024

+ 1 - 1
server/yusp-tagging-core/src/main/resources/mapper/AitagTagLogMapper.xml

@@ -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}
         </if>
         GROUP BY
         elem->>'tag_name'