打印的SQL如下:insert into tour.line (name, type, day, startAddr, destAddr, arrange, respPerson, trafficType, costInclude, costUnInclude, hotPoint, specialPoint, order, infoControl, clickCount, pic, addTime) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
但报错如下:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: 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 'order, infoControl, clickCount, pic, addTime) values ('11', 1, 0, 0, 0, '', 1, 1' at line 1
谢谢大家了!