40f465b0 by Zelig

计划bug

1 parent 5af08ca2
......@@ -308,8 +308,10 @@ class Work extends CI_Controller
if (!$ret->clientContactOutputVOS) {
$ret->clientContactOutputVOS = array();
}
//查询还款计划表
$str = 'borrowAmount=' . $ret->orderVO->applyMoney . '&productId=' . $ret->orderVO->productId . '&loanDeadline=' . $ret->orderVO->deadline;
$getLastCheck = $this->flow->getLastCheck($id);
$str = 'borrowAmount=' . $getLastCheck->agreeMoney . '&productId=' . $ret->orderVO->productId . '&loanDeadline=' . $ret->orderVO->deadline;
$url2 = $this->config->item('apiBaseUrl') . 'application/tool/interest?' . $str;
$result2 = file_get_contents($url2);
$json2 = json_decode($result2);
......@@ -322,7 +324,7 @@ class Work extends CI_Controller
'applyOrderVO' => $ret->orderVO,
'plan'=>$ret2,
'id'=>$id,
'getLastCheck' => $this->flow->getLastCheck($id),
'getLastCheck' => $getLastCheck,
'confirmType' => $this->order->ordersource->confirmType(),
);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!