Commit 595a57e2 authored by hujun's avatar hujun

where

parent c0d5a19c
...@@ -64,10 +64,10 @@ class PayLogOpenService ...@@ -64,10 +64,10 @@ class PayLogOpenService
break; break;
case 2: case 2:
//查询所有和改地址相关的未申请开业的收款 //查询所有和改地址相关的未申请开业的收款
$params["b.house_id"] = $house_id; $where["b.house_id"] = $house_id;
$params["a.is_open"] = 0; $where["a.is_open"] = 0;
$params["a.is_del"] = 0; $where["a.is_del"] = 0;
$payLogArr = $this->payLogModel->selectListByHouseId("a.id", $params); $payLogArr = $this->payLogModel->selectListByHouseId("a.id", $where);
foreach ($payLogArr as $item){ foreach ($payLogArr as $item){
$return_id = $this->payLogOpenModel->addPayLogOpen( $return_id = $this->payLogOpenModel->addPayLogOpen(
$this->payLogOpenBin($item["id"], $report_id, $bargain_id, $agent_id, $house_id, $intro, $house_address, $order_id) $this->payLogOpenBin($item["id"], $report_id, $bargain_id, $agent_id, $house_id, $intro, $house_address, $order_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment