Commit 249fa3fa authored by jichao's avatar jichao

mybatis使用map做返回值,字段返回不全的问题

parent 8f64f580
......@@ -22,6 +22,7 @@ druid:
mybatis:
mapper-locations: classpath:mapper/**/**/*.xml
config-location: classpath:mapper.xml
mapper:
......
<?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="callSettersOnNulls" value="true"/>
</settings>
</configuration>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment