Cause: 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 ‘number=2 \n where family_id=2’ at line 5\r\n### The error may involve co
sql语法错误,仔细在mapper文件中看一下sql语句有没有错。
我的错误原因是:逗号多写了一个,删掉最后一个就好了
又是逗号惹的祸