1、因为代码中前人未考虑in 数据可能大于1000,导致现在系统报错,MPP low前人
直接上sql
select * from table a
<where>
<if test="list != null and list.size > 0">
and a.name in
<foreach collection="list" index="index" item="item" open="(" separator="," close=")">
<if test="(index % 999) == 998"> ) or a.name in (</if> #{item}
</foreach >
</if>
</where>