Commit 71c05a31 authored by zhuwei's avatar zhuwei

业绩明细

parent ee72ecd1
......@@ -34,10 +34,14 @@ class PerformanceInfo extends Basic
$where=[];
/*开始结束时间*/
if (($this->params['start_date'] != NULL) && ($this->params['end_date'] != NULL)) {
$where['create_time'] = ['between time', [$this->params['start_date'] . ' 00:00:00'], $this->params['end_date'] . ' 23:59:59'];
if (($this->params['create_time_start'] != NULL) && ($this->params['create_time_end'] != NULL)) {
$where['create_time'] = ['between time', [$this->params['create_time_start'] . ' 00:00:00'], $this->params['create_time_end'] . ' 23:59:59'];
}
if ($this->params['shop_type'] != NULL) {
$where['Houses.shop_type'] = $this->params['shop_type'];
}
//todo 成交类型
if ($this->params['trade_type'] != NULL) {
$where['Obargain.trade_type'] = $this->params['trade_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