mapper参数写错
This commit is contained in:
@@ -932,7 +932,7 @@
|
|||||||
|
|
||||||
<update id="updateStockById">
|
<update id="updateStockById">
|
||||||
update tb_product
|
update tb_product
|
||||||
set stock_number = stock_number - #{number,jdbcType=INTEGER}
|
set stock_number = stock_number - #{num,jdbcType=INTEGER}
|
||||||
where id = #{productId}
|
where id = #{productId}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user