PageUtils page = cailiaoxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, cailiaoxinxi), params), params));
return R.ok().put(“data”, page);
}
@Override
public PageUtils queryPage(Map<String, Object> params, Wrapper wrapper) {
Page page =new Query(params).getPage();
page.setRecords(baseMapper.selectListView(page,wrapper));
PageUtils pageUtil = new PageUtils(page);
return pageUtil;
}
点击某个材料之后,就可以查看材料的详情信息,如下图所示: