mybatis <where> tag do not use, or clear line table

The company sent a clear line of table phenomenon, excluding found:

 <delete id="scMxdxxxb">
        DELETE TABLE
        <where>
            <foreach collection="id" item="item" index="index" open="" separator="OR" close="">
                id = #{item}
            </foreach>
        </where>
 </delete>

  

 

Guess you like

Origin www.cnblogs.com/kzd666/p/11412881.html