Commit 18f90407 by Wangmin

题库返回按照ID倒序

parent 556759aa
......@@ -62,6 +62,8 @@ public class DbQuestionBankServiceImpl implements IDbQuestionBankService {
@Override
public TableDataInfo<DbQuestionBankVo> queryPageList(DbQuestionBankBo bo, PageQuery pageQuery) {
LambdaQueryWrapper<DbQuestionBank> lqw = buildQueryWrapper(bo);
pageQuery.setOrderByColumn("id");
pageQuery.setIsAsc("desc");
Page<DbQuestionBankVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
return TableDataInfo.build(result);
}
......
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