使用Mybatics gennerator,spring boot,pagehelper实现分页查询
@RestController//控制器的方法
public class Controller {
@Autowired
private IpostNewsImpl ipostNews;
@ResponseBody
@RequestMapping("/post")
public Object post(HttpSession session,Integer currentPage, Integer pageSize){
currentPage =
原创
2020-09-21 19:03:39 ·
140 阅读 ·
0 评论