Commit 93b08d81 authored by zhuwei's avatar zhuwei

成交数修改

parent 41fbfe3d
...@@ -799,7 +799,8 @@ class OBargainModel extends Model ...@@ -799,7 +799,8 @@ 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_["role"] = 3;//必须是反签方 $where_["a.role"] = 3;//必须是反签方
$where_["a.status"] = array( "in", '10,11,13');
} }
...@@ -822,7 +823,7 @@ class OBargainModel extends Model ...@@ -822,7 +823,7 @@ class OBargainModel extends Model
->join($join) ->join($join)
->where($where_) ->where($where_)
->select(); ->select();
//echo $this->getLastSql(); big_log($this->getLastSql());
return $return; return $return;
} }
/** /**
......
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