| | |
| | | |
| | | <update id="increase"> |
| | | update man_order_detl |
| | | set qty = qty + #{qty} |
| | | set qty = qty + #{qty},work_qty = work_qty - #{qty} |
| | | where 1=1 |
| | | and order_id = #{orderId} |
| | | and matnr = #{matnr} |
| | |
| | | |
| | | <update id="increaseQtyByOrderNo"> |
| | | update man_order_detl |
| | | set qty = qty + #{qty} |
| | | set qty = qty + #{qty},work_qty = work_qty - #{qty} |
| | | where 1=1 |
| | | and order_no = #{orderNo} |
| | | and matnr = #{matnr} |
| | |
| | | </update> |
| | | <update id="increaseWorkQtyByOrderNo"> |
| | | update man_order_detl |
| | | set work_qty = work_qty + #{qty} |
| | | set qty = qty + #{qty} |
| | | where 1=1 |
| | | and order_no = #{orderNo} |
| | | and matnr = #{matnr} |