java po类:
private Object labReportBO;
数据库类型:
lab_report_bo JSON;
mapper.xml
<resultMap id="BaseResultMap" type="common.entity.po.ScCountQueue" >
<result column="LAB_REPORT_BO" property="labReportBO" jdbcType="OTHER" typeHandler="com.website.common.converter.JSONTypeHandlerPg" />
</resultMap>
#{labReportBO, jdbcType=OTHER, typeHandler=com.website.common.converter.JSONTypeHandlerPg}
转换器
package common.converter;