一对一 一对多 user表: orders表: UserMapper接口: OrderMapper接口: 测试类: 多对多 数据库表: 数据库映射类(以User为主类去封装Role类): 建立接口(以user为主表): 封装role: 测试: