Commit 11ec9d40 authored by clone's avatar clone

bug

parent 5a1f169a
...@@ -613,7 +613,7 @@ class OBargainModel extends Model ...@@ -613,7 +613,7 @@ class OBargainModel extends Model
} elseif ($type == 3) { } elseif ($type == 3) {
$field = "count(1) as num,DATE(create_time) as day"; $field = "count(1) as num,DATE(create_time) as day";
//$where_["father_id"] = 0; //$where_["father_id"] = 0;
$where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620 //$where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620
} }
if (isset($params["agent_id"])) { if (isset($params["agent_id"])) {
...@@ -655,7 +655,7 @@ class OBargainModel extends Model ...@@ -655,7 +655,7 @@ class OBargainModel extends Model
$field = "sum(practical_fee) as num"; $field = "sum(practical_fee) as num";
} elseif ($type == 3) { } elseif ($type == 3) {
$field = "count(1) as num"; $field = "count(1) as num";
$where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620 //$where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620
$where_["role"] = 3;//必须是反签方 $where_["role"] = 3;//必须是反签方
} }
......
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