1. List<Vo> queryList(@Param("param") List<Dto> param);
    2. <select id="queryList" resultType="Vo">
    3. select id
    4. from table
    5. where isvalid = 1
    6. <if test="param != null and param.size() > 0">
    7. and
    8. <foreach collection="param" index="index" item="item" open="(" close=")" separator="or">
    9. (model_identification = #{item.modelIdentification}
    10. and model_version = #{item.modelVersion})
    11. </foreach>
    12. </if>) model
    13. </select>