Commit 854d6536 authored by fangxinjiang's avatar fangxinjiang

证明代码优化

parent 7a9c6c73
......@@ -37,7 +37,7 @@ public interface TCertRecordService extends IService<TCertRecord> {
R<TCertRecordVo> getCertRecordInfo(String id);
IPage<List<TCertRecord>> pageDiy(Page page, CertRecordSearchVo searchVo);
IPage<TCertRecord> pageDiy(Page page, CertRecordSearchVo searchVo);
List<TCertRecord> getTCertRecordNoPage(CertRecordSearchVo searchVo);
}
......@@ -90,7 +90,7 @@ public class TCertRecordServiceImpl extends ServiceImpl<TCertRecordMapper, TCert
}
@Override
public IPage<List<TCertRecord>> pageDiy(Page page, CertRecordSearchVo searchVo) {
public IPage<TCertRecord> pageDiy(Page page, CertRecordSearchVo searchVo) {
LambdaQueryWrapper<TCertRecord> wrapper = buildQueryWrapper(searchVo);
wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectPage(page,wrapper);
......
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