From d551bef5e2b09bd98681cf97807988c9863e66fc Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期五, 02 四月 2021 00:39:28 +0800 Subject: [PATCH] 视频详情页中的广告显示策略 --- src/main/java/com/yeshi/buwan/dao/system/DetailSystemConfigDao.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/dao/system/DetailSystemConfigDao.java b/src/main/java/com/yeshi/buwan/dao/system/DetailSystemConfigDao.java index 4d24c98..26eca76 100644 --- a/src/main/java/com/yeshi/buwan/dao/system/DetailSystemConfigDao.java +++ b/src/main/java/com/yeshi/buwan/dao/system/DetailSystemConfigDao.java @@ -5,6 +5,7 @@ import com.yeshi.buwan.domain.system.DetailSystemConfig; +import java.math.BigInteger; import java.util.List; @Repository @@ -30,4 +31,8 @@ return null; } + public List<DetailSystemConfig> list(Long systemId, String searchKey) { + return list("from DetailSystemConfig c where c.systemId=? and c.beizhu like ?", new BigInteger( systemId+""), "%" + searchKey + "%"); + } + } \ No newline at end of file -- Gitblit v1.8.0