############################## mybatis配置 ######################################
mybatis.configuration.call-setters-on-nulls=true

#entity扫描的包名
mybatis.type-aliases-package=mydemo.entity

#Mapper.xml所在的位置
mybatis.mapper-locations=classpath*:com/mydemo/mapper/*/*Mapper.xml
mapper.mappers=mydemo.common.dao.BaseMapper

#在控制台输出sql返回数据。
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl

#控制台打印字段
logging.level.mydemo.mapper=TRACE

posted on 2018-12-11 16:17  境艺  阅读(295)  评论(0编辑  收藏  举报