Service/Calc/Value/Ov.php
private function updateOv($dwnl)
    {
        $entity = new  EBonDwnl();
        /** @var EBonDwnl $one */
        foreach ($dwnl as $one) {
            $ov = $one->getOv();
            $calcId = $one->getCalculationRef();
            $custId = $one->getCustomerRef();
            $entity->setOv($ov);
            $id = [
                EBonDwnl::A_CALC_REF => $calcId,
                EBonDwnl::A_CUST_REF => $custId
            ];
            $this->daoBonDwnl->updateById($id, $entity);
        }
    }
private function updateOv($dwnl)
    {
        $entity = new  EBonDwnl();
        /** @var EBonDwnl $one */
        foreach ($dwnl as $one) {
            $ov = $one->getOv();
            $calcId = $one->getCalculationRef();
            $custId = $one->getCustomerRef();
            $entity->setOv($ov);
            $id = [
                EBonDwnl::A_CALC_REF => $calcId,
                EBonDwnl::A_CUST_REF => $custId
            ];
            $this->daoBonDwnl->updateById($id, $entity);
        }
    }
Update downline tree with calculated OV values.

@param EBonDwnl[] $dwnl