Springboot整合MyBatis-plus:单条数据删除、批量删除、条件删除、逻辑删除

Springboot整合MyBatis-plus:单条数据删除、批量删除、条件删除、逻辑删除

一、单条数据删除

  //单个删除
    @Test
    public void testDeleteById(){
   
    
    
        stuMapper.deleteById(2);
    }

猜你喜欢

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