Commit 6f9204e6 authored by zhuwei's avatar zhuwei

1

parent 99ddc6cb
......@@ -156,7 +156,7 @@ class StatementService
$start_time = date("Y-m-01", time());
$end_time = date("Y-m-d", time());
$conditions['create_time'] = array( 'between', array( $start_time, $end_time ) );
$conditions['create_time'] = array( 'between', array( $start_time. ' 00:00:00', $end_time. ' 23:59:59' ) );
#月房源
$result["house_num_month"] = $this->housesToAgents->getAddHouseNumByAgentId($conditions);
#月客源
......
......@@ -1653,5 +1653,8 @@ class GHouses extends BaseModel
->where($where_)
->find();
}
}
......@@ -592,7 +592,7 @@ class GHousesToAgents extends BaseModel
$where_["create_time"] = $params["create_time"];
}
$result = $this->where($where_)->count();
// echo $this->getLastSql();
big_log($this->getLastSql());
return $result;
}
......
......@@ -788,7 +788,7 @@ class OBargainModel extends Model
->join($join)
->where($where_)
->select();
// big_log($this->getLastSql());
big_log($this->getLastSql());
return $return;
}
public function getAddBargainNumV2($params, $type)
......
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