报错
check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE......
mapper
<update id="updateByProductedId" parameterType="XqProduct">
UPDATE
xq_product
SET
xq_product_name = #{xqProduct.xqProductName},
xq_product_standard_price = #{xqProduct.xqProductStandardPrice}, ---------------------------1
WHERE xq_product_id = #{xqProduct.xqProductId}
</update>
问题
多复制了个逗号。
将标注1行结尾的逗号去掉即可。