abc,def,wes
in语句
<if test="queryOrderStateArr != null">
and orderState in
<foreach item="item" index="index" collection="queryOrderStateArr" open="(" separator="," close=")">
#{item}
</foreach>
</if>
in语句
<if test="queryOrderStateArr != null">
and orderState in
<foreach item="item" index="index" collection="queryOrderStateArr" open="(" separator="," close=")">
#{item}
</foreach>
</if>