2019年1月16日

摘要: 一、类属性 @Alias("depart")public class Department { private Integer id; private String departName; private List<User> users; @Alias("user")public class Us 阅读全文

posted @ 2019-01-16 23:40 FLGB 阅读(203) 评论(0) 推荐(0) 编辑

摘要: 二、封装MAP mapper配置 三、自定义返回值类型 <1> 实体类定义别名 public User selectUserById(Integer id);方法 mapper配置 <2> public User selectUserAndDepart(Integer id); mapper配置 m 阅读全文

posted @ 2019-01-16 20:48 FLGB 阅读(3562) 评论(0) 推荐(0) 编辑

摘要: 二、mapper配置 三、测试代码 代码 阅读全文

posted @ 2019-01-16 20:34 FLGB 阅读(873) 评论(0) 推荐(0) 编辑


Copyright © 2024 FLGB
Powered by .NET 8.0 on Kubernetes