一、怎么写接口??? 1.Entity(定义一堆属性之类的) alt+ins====>getter和setter方法 2.Controller 3.Service(查询出数据) 调用了一个方法 4.Mapper 5.回到service(返回数据) 6.回到controller调用