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

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

一、单条数据查询

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

猜你喜欢

转载自blog.csdn.net/zhengzaifeidelushang/article/details/115272587