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 @@ - 探果题库_聪明的学生都在这里 + 探果题库_聪明的学生都在这里