sql问题
This commit is contained in:
parent
05c88e00d3
commit
7124b8a345
|
|
@ -915,7 +915,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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue