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/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