需要修改generatorConfiguration.xml,里面的table加属性:
<table tableName="t_ticketcase" domainObjectName="TicketCase">
<columnOverride column="header" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="params" javaType="java.lang.String" jdbcType="VARCHAR" />
</table>
转载于:https://www.cnblogs.com/cristin/p/9269434.html