From ab35ac8b769b2d9816dffb33a64f2c6f7bd5dd6e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 05 九月 2024 17:05:55 +0800 Subject: [PATCH] 风行网页版爬虫 --- src/main/java/com/yeshi/buwan/service/imp/SpecialService.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/service/imp/SpecialService.java b/src/main/java/com/yeshi/buwan/service/imp/SpecialService.java index ec3d31a..4888e40 100644 --- a/src/main/java/com/yeshi/buwan/service/imp/SpecialService.java +++ b/src/main/java/com/yeshi/buwan/service/imp/SpecialService.java @@ -55,8 +55,8 @@ new String[]{detailSystemId}); } - public List<Special> getSpecialList() { - return specialDao.list("from Special"); + public List<Special> getSpecialListBySystem(String systemId) { + return specialDao.list("from Special s where s.system.id=?",systemId); } @Cacheable(value = "classCache", key = "'getSpecialCount'+'-'+#detailSystemId") -- Gitblit v1.8.0