Commit 4d523b8e authored by zhuwei's avatar zhuwei

1

parent 32f00377
......@@ -812,7 +812,7 @@ class StatementService
$agent_res = $this->getAgentIDsByDistrictId($district_id,$agent_level);
$conditions['agent_id'] = array( "in", $agent_res['agent_ids'] );
############################## 本月数据 ################################################
############################## 本月数据 ###############################################
$start_time = date("Y-m-01", time());
$end_time = date("Y-m-d", time());
$conditions['create_time'] = array( 'between', array( $start_time . " 00:00:00", $end_time . " 23:59:59" ) );
......
......@@ -839,7 +839,7 @@ class OBargainModel extends Model
$field = "sum(practical_fee) as num";
} elseif ($type == 3) {
$field = "count(1) as num";
$where_["a.role"] = 3;//必须是反签方1
$where_["a.role"] = 3;//必须是反签方
$where_["a.status"] = array( "in", '10,11,13');
}
......
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