mybatis plus 如何保存字符串数组,类似[xxx,xxx]这样的数组到数据库中。目前使用的是在xml 写 <result column="department" jdbcType="VARCHAR" property="department" typeHandler="com.springboot.config.JsonStringArrayTypeHandler"/>就可以保存到数据库,但是不想写xml,是否有其他办法??
添加回答
举报
0/150
提交
取消
