转载请注明出处:http://blog.csdn.net/qq_26525215
本文源自【大学之旅_谙忆的博客】
解决办法其实很简单,只需要为你的**.xml中的insert增加两个属性就可以了。
例如,我的SponsorsMapper.xml中原来的代码如下:
<insert id="insertSelective" parameterType="com.uifuture.footer.entity.Sponsors">
insert into sponsors
<trim