From f537abe9f3646c739beaf15076246a2f71a347e9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 20 二月 2025 16:57:55 +0800 Subject: [PATCH] IOS广告增加区域屏蔽 --- src/main/java/com/yeshi/buwan/dao/video/AlbumVideoMapDao.java | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/dao/video/AlbumVideoMapDao.java b/src/main/java/com/yeshi/buwan/dao/video/AlbumVideoMapDao.java index 3d1266f..12ec398 100644 --- a/src/main/java/com/yeshi/buwan/dao/video/AlbumVideoMapDao.java +++ b/src/main/java/com/yeshi/buwan/dao/video/AlbumVideoMapDao.java @@ -27,4 +27,37 @@ return findList(query); } + + /** + * 鎷夊彇鎵�鏈夋暟鎹� + * + * @param start + * @param count + * @return + */ + public List<AlbumVideoMap> listAll(int start, int count) { + Query query = new Query(); + query.skip(start); + query.limit(count); + return findList(query); + } + + + /** + * 璁$畻鎵�鏈� + * + * @return + */ + public long countAll() { + Query query = new Query(); + return count(query); + } + + + public AlbumVideoMap selectByVideoId(String videoId) { + Query query = new Query(); + query.addCriteria(Criteria.where("videoId").is(videoId)); + return findOne(query); + } + } -- Gitblit v1.8.0