springboot2.0mybatismapper-locations扫描多个路径mapper-locations扫描多个路径,中间以,分开,如果mapper.xml在源码包下,配置成classpath*开头比较好使mybatis:mapper-locations:classpath*:mapper/*.xml,classpath*:com/urthink/upfs/**/*Mapper.xmltype-aliases-package:com.urthink.upfs.springbootmybatis.entity#IDENTITY:MYSQL#取回主键的方式#notEmpty:false#insert和update中,是否判断字符串类型!='...
继续阅读 >