功能重构开发
This commit is contained in:
@@ -311,4 +311,11 @@
|
||||
WHERE id = #{gysJhId}
|
||||
</update>
|
||||
|
||||
<update id="decreaseRealQtyById">
|
||||
UPDATE gys_jh
|
||||
SET real_qty = IFNULL(real_qty, 0) - #{rollbackQty}
|
||||
WHERE id = #{gysJhId}
|
||||
AND IFNULL(real_qty, 0) >= #{rollbackQty}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user