数据库表和实体类的映射 Java Bean。 DAO层 需要编写接口 Mapper ,接口 Mapper 需要去继承 MP 中的 BaseMapper 接口。 Service层 编写 Service 层接口和实现类。业务接口需要去继承 MP 中的 IService,业务实现类需要继承 MP 中的 ServiceImpl 和 实现业务接口。 Controller层 编写 ...