连接的sqlserver数据库,如果更新时报标题错误,java.sql.SQLException: com.microsoft.sqlserver.jdbc.SQLServerException: “,”附近有语法错误。 Query: update goods set goods_name = ?,goods_price = ?, goods_num = ?, goods_type = ?, seller_id = ?, img_path = ?, goods_sales = ? where goods_id = ? Parameters: [test111, 10, 100, book, 2, static/img/default.jpg, 0, 5]
则按图示修改