huliguo
2 天以前 d8143b9121bbe941f116230eaa5524ab2cc12a66
src/main/java/com/linghu/service/impl/KeywordServiceImpl.java
@@ -40,8 +40,8 @@
        }
        List<KeywordStaticsVO> statics = this.getBaseMapper().statics(keywordId, questionId, keyword.getNum());
        vo.setNowRecord(statics);
        if (keyword.getNum() != 0) {
            statics = this.getBaseMapper().statics(keywordId, questionId, keyword.getNum() - 1);
        if (keyword.getNum() > 1) {
            statics = this.getBaseMapper().statics(keywordId, questionId, 1);
            vo.setBeforeRecord(statics);
        }
        return ResponseResult.success(vo);