需要修改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>