<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> <configuration> <settings> <setting name="logImpl" value="SLF4J"/> <!-- 开启驼峰命名转换 Table(create_date) -> Entity(createTime) --> <setting name="mapUnderscoreToCamelCase" value="true" /> </settings> </configuration>