From 7becc97c5bfdd827b9a999c26746bb8e8bc3e25c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 13 三月 2021 16:23:36 +0800 Subject: [PATCH] 后台会员/会员订单查询,搜索结果高清标签添加, --- src/main/java/com/yeshi/buwan/dao/ResourceVideoDao.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/dao/ResourceVideoDao.java b/src/main/java/com/yeshi/buwan/dao/ResourceVideoDao.java index cac4deb..dc9276d 100644 --- a/src/main/java/com/yeshi/buwan/dao/ResourceVideoDao.java +++ b/src/main/java/com/yeshi/buwan/dao/ResourceVideoDao.java @@ -14,6 +14,7 @@ /** * 鏍规嵁瑙嗛ID鍜屾潵婧怚D鏌ヨ + * * @param videoId * @param resourceId * @return @@ -26,4 +27,10 @@ return null; } + + public long countByVideoIdAndResourceId(String videoId, String resourceId) { + return getCount("from ResourceVideo rv where rv.video.id=? and rv.resource.id=?", new Serializable[]{videoId, resourceId}); + } + + } -- Gitblit v1.8.0