Commit 06228e8c authored by clone's avatar clone

bug

parent 57c586f2
......@@ -643,7 +643,7 @@ class OBargainModel extends Model
$field = "sum(practical_fee) as num,DATE(create_time) as day";
} elseif ($type == 3) {
$field = "count(1) as num,DATE(create_time) as day";
$where_["father_id"] = 0;
//$where_["father_id"] = 0;
$where_["trade_type"] = 10;//产品要求统计数量必须是出租类型的180620
}
......@@ -679,7 +679,7 @@ class OBargainModel extends Model
} elseif ($type == 3) {
$field = "count(1) as num";
$where_["a.trade_type"] = 10;
$where_["a.father_id"] = 0;
//$where_["a.father_id"] = 0;
array_push($join,[' o_report c','a.report_id=c.id','left']);
}
......@@ -796,7 +796,7 @@ class OBargainModel extends Model
}
if (isset($params["create_time"])) {
$where_["a.create_time"] = $params["create_time"];
$where_["a.father_id"] = 0;
//$where_["a.father_id"] = 0;
$where_["a.trade_type"] = 10;
}
......
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