update plan_customer_order set reserved_quantity=#{total} where id = #{id} update production_operation_task set reserved_quantity=#{total} where id = #{id} update production_operation_task_material set reserved_quantity = 0 where operation_task_id = #{id} update production_operation_task_material set reserved_quantity=#{number} where part_id = #{partId} and operation_task_id = #{id}