|
|
@@ -5,6 +5,7 @@ import cn.reghao.jutil.jdk.db.Page;
|
|
|
import cn.reghao.tnb.content.app.vod.model.po.VideoPostTag;
|
|
|
import cn.reghao.tnb.common.db.GroupCount;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -14,7 +15,11 @@ import java.util.List;
|
|
|
*/
|
|
|
@Mapper
|
|
|
public interface VideoPostTagMapper extends BaseMapper<VideoPostTag> {
|
|
|
- int countVideosByTag(String tagId);
|
|
|
+ void updateSetScope(@Param("videoId") String videoId, @Param("scope") int scope);
|
|
|
+
|
|
|
+ int countVideosByTag(String tagId, List<Integer> scopes);
|
|
|
List<String> findVideosByPage(Page page, String tagId, List<Integer> scopes);
|
|
|
+
|
|
|
List<String> findVideoTags(String videoId);
|
|
|
+ List<String> findByGroupBy();
|
|
|
}
|