mybatis 删除一组数据 in

不能自己ping in中的数据
而是要用其带有的方式

 <delete id="deleteV1ByMenName" parameterType="string">
		DELETE FROM MEMBER_VERIFY WHERE MEN_NAME in 
			<foreach collection="deleteString" item="item" open="(" separator=","
				close=")">
				#{item}
		    </foreach>
    </delete>




int deleteV1ByMenName(@Param("deleteString") String[] deleteString);

你可能感兴趣的:(mybatis)