摘要: 一. MybatisProperties 在使用 mybatis 时, 还需要对mapper进行配置: mybatis: mapper-locations: classpath:mapper/**Mapper.xml 这些配置其实是映射到 mybatis-spring-boot-autoconfig 阅读全文
posted @ 2020-02-11 23:03 Sniper_ZL 阅读(3186) 评论(0) 推荐(0) 编辑
摘要: 一. 测试代码 //实体类 public class User { private Integer id; private String name; private Integer age; private String email; private SexEnum sex; //getter / 阅读全文
posted @ 2020-02-11 22:55 Sniper_ZL 阅读(7338) 评论(0) 推荐(0) 编辑