From ee252950a8876d4325284b9bdc124961905f0174 Mon Sep 17 00:00:00 2001 From: tamguo Date: Sat, 11 Aug 2018 15:13:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tamguo/modules/tiku/service/impl/PaperServiceImpl.java | 4 ++-- tamguo-tms/src/main/resources/templates/mobile/paper.html | 2 +- tamguo-tms/src/main/resources/templates/paper.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/PaperServiceImpl.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/PaperServiceImpl.java index 898c959..77d580d 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/PaperServiceImpl.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/PaperServiceImpl.java @@ -36,7 +36,7 @@ public class PaperServiceImpl extends ServiceImpl impl List paperList = (List) cacheService.getObject(SystemConstant.HISTORY_PAPER); if(paperList == null){ Page page = new Page<>(1 , 6); - paperList = paperMapper.selectPage(page, Condition.create().eq("type", SystemConstant.HISTORY_PAPER).eq("area_id", SystemConstant.BEIJING_AREA_ID)); + paperList = paperMapper.selectPage(page, Condition.create().eq("type", SystemConstant.ZHENGTI_PAPER_ID).eq("area_id", SystemConstant.BEIJING_AREA_ID)); cacheService.setObject(SystemConstant.HISTORY_PAPER, paperList , 2 * 60 * 60); } return paperList; @@ -48,7 +48,7 @@ public class PaperServiceImpl extends ServiceImpl impl List paperList = (List) cacheService.getObject(SystemConstant.SIMULATION_PAPER); if(paperList == null){ Page page = new Page<>(1 , 6); - paperList = paperMapper.selectPage(page, Condition.create().eq("type", SystemConstant.SIMULATION_PAPER).eq("area_id", SystemConstant.BEIJING_AREA_ID)); + paperList = paperMapper.selectPage(page, Condition.create().eq("type", SystemConstant.MONI_PAPER_ID).eq("area_id", SystemConstant.BEIJING_AREA_ID)); cacheService.setObject(SystemConstant.SIMULATION_PAPER, paperList , 2 * 60 * 60); } return paperList; diff --git a/tamguo-tms/src/main/resources/templates/mobile/paper.html b/tamguo-tms/src/main/resources/templates/mobile/paper.html index 382b633..3139ce5 100644 --- a/tamguo-tms/src/main/resources/templates/mobile/paper.html +++ b/tamguo-tms/src/main/resources/templates/mobile/paper.html @@ -3,7 +3,7 @@ - + diff --git a/tamguo-tms/src/main/resources/templates/paper.html b/tamguo-tms/src/main/resources/templates/paper.html index 083ba1c..3a59925 100644 --- a/tamguo-tms/src/main/resources/templates/paper.html +++ b/tamguo-tms/src/main/resources/templates/paper.html @@ -2,7 +2,7 @@ - 探果题库_聪明的学生都在这里 + 探果题库_聪明的学生都在这里