1.创建service接口,继承IService接口 IService接口的方法 2.创建service接口的实现类,继承ServiceImpl,并实现service接口 3.测试 1.按id查询 2.添加 3.修改 4.删除 5.分页查询