40f465b0 by Zelig

计划bug

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