insert into fulfilment_info(fulfilment_info_id, fulfilment_info_status, not_fulfilled_state, not_fulfilled_reason) values (#{parentId}, #{fulfilmentInfo.fulfilmentStatus}, #{fulfilmentInfo.notFulfilledState}, #{fulfilmentInfo.notFulfilledReason}) update fulfilment_info fulfilment_info_status = #{fulfilmentInfo.fulfilmentStatus}, not_fulfilled_state = #{fulfilmentInfo.notFulfilledState}, not_fulfilled_reason = #{fulfilmentInfo.notFulfilledReason}, where fulfilment_info_id = #{parentId} delete from fulfilment_info where fulfilment_info_id = #{parentId}