Springboot整合MyBatis-plus:单条数据查询,批量查询,条件查询,分页查询

Springboot整合MyBatis-plus:单条数据查询,批量查询,分页查询

一、单条数据查询

//单条数据查询
    @Test
    public void testSelectById(){
   
        Stu_info user = stuMapper.selectById(2

你可能感兴趣的:(前端和后端开发,Springboot,MyBatis-plus,批量查询,条件查询,分页查询)