1、

#config mybatis xml
mybatis.mapper-locations=classpath:mapping/*.xml
mybatis.type-aliases-package=com.jd.demo02.entity
2、

3、mapper配置文件

1、
#config mybatis xml
mybatis.mapper-locations=classpath:mapping/*.xml
mybatis.type-aliases-package=com.jd.demo02.entity
2、
3、mapper配置文件