xiangpei
2025-05-29 e0beab0edb7049fdf46aca17f32f9dc5f4a8a755
framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
@@ -54,4 +54,16 @@
          AND ref_id IN <foreach collection="videoIds" open="(" item="videoId" close=")" separator=",">#{videoId}</foreach>
    </select>
    <select id="countNumGroupByType" parameterType="string" resultType="cn.lili.modules.lmk.domain.vo.CollectTypeNumVO">
        SELECT
               ref_id as id,
               count(id) as countNum
        FROM
             lmk_my_collect
        WHERE
              collect_type = #{type} AND delete_flag = 0
        GROUP BY
            ref_id
    </select>
</mapper>