iBatis prepend iterate 标签,in词句的一点总结

iBatis prepend iterate 标签,in字句的一点总结先看一段代码:select id, HotelId as hotelId,Selectflag a

iBatis prepend iterate 标签,in字句的一点总结

先看一段代码:

select id, HotelId as hotelId,Selectflag as selectflag from Hotelinfok WHERE ( id=? OR id=? OR id=? OR id=?)