数据库连接url后加上rewriteBatchedStatements=true 如 jdbc:mysql://localhost:3306/mydb?rewriteBatchedStatements=true