报错:Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SQL语句: <delete id="deleteByIds">delete from tb_brand where id in <foreach collection="id" item="id" separator=',' open="(" close=")"> #{id} </foreach> </delete>
不知道哪错了 求助