订单系统未知异常;
在支付订单的时候,报了这个错。

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 'UPDATE kx_stock SET sales = sales + 1 WHERE product_id = 1697085097990897666' at line 1

原因如下

在mybatis里面 执行了两条sql
解决办法

在yml文件里面加上这句话
&allowMultiQueries=true