Commit 39832b4b by zhengyunfei

Merge remote-tracking branch 'origin/master'

parents 7b76392f d1354d02
...@@ -62,6 +62,8 @@ public class DbQuestionBankServiceImpl implements IDbQuestionBankService { ...@@ -62,6 +62,8 @@ public class DbQuestionBankServiceImpl implements IDbQuestionBankService {
@Override @Override
public TableDataInfo<DbQuestionBankVo> queryPageList(DbQuestionBankBo bo, PageQuery pageQuery) { public TableDataInfo<DbQuestionBankVo> queryPageList(DbQuestionBankBo bo, PageQuery pageQuery) {
LambdaQueryWrapper<DbQuestionBank> lqw = buildQueryWrapper(bo); LambdaQueryWrapper<DbQuestionBank> lqw = buildQueryWrapper(bo);
pageQuery.setOrderByColumn("id");
pageQuery.setIsAsc("desc");
Page<DbQuestionBankVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw); Page<DbQuestionBankVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
return TableDataInfo.build(result); return TableDataInfo.build(result);
} }
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
del.question_bank_id AS questionBankId, del.question_bank_id AS questionBankId,
dqbtp.topic AS topic, dqbtp.topic AS topic,
dtprd.answer AS answer, dtprd.answer AS answer,
dtprd.correct_answer AS correctAnswer, dqbtp.right_answers AS correctAnswer,
dqbtp.species AS species dqbtp.species AS species
FROM FROM
db_error_list AS del db_error_list AS del
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment