<if test="list!= null and list.size>0" >
and ID in
<foreach collection="reliability" item="rel" open="(" separator="," close=")">
#{rel}
</foreach>
</if>
<if test="list!= null and list.size>0" >
and ID in
<foreach collection="reliability" item="rel" open="(" separator="," close=")">
#{rel}
</foreach>
</if>