記錄
<!-- 傳入 list 遍歷-->
select * from block_file bf
where bf.project_id in
<foreach collection="query.list" open="[" close="]" separator="," item="item">
#{item,jdbcType=INTEGER}
</foreach>
<!-- 傳入字符串-->
<foreach item="paramCondition.taskKey"
collection="paramCondition.taskKey.split(',')" open="(" separator="," close=")">
#{paramCondition.taskKey}
</foreach>