小技巧 01 在mapper.xml中写sql并且需要使用mybatisplus中得分页插件时,可以在service层传参数时将PageFactory.defaultPage()作为参数传入mapper层,在mapper传参数时将IPage<Entity> page作为参数传入mapper.xml中