Mybatis查询报错
invalid comparison: java.lang.String and [Ljava.lang.String;
原因
去掉黄色部分
<if test="null != businessType and '' != businessType">
and t.businessType in
<foreach collection="businessType" item="bt" index="index" open="(" close=")" separator=",">
'${bt}'
</foreach>
</if>