Commit 957955cb authored by zhuwei's avatar zhuwei

业绩修改

parent df5a2a32
......@@ -181,8 +181,6 @@ class StatementService
*/
private function getStoreList($conditions, $agent_id, $agent_name)
{
//dump($conditions);
$conditions_ = $conditions;
$conditions_["agent_id"] = $agent_id;
//是门店 统计个人业绩
......@@ -196,6 +194,7 @@ class StatementService
//本周业绩
$start_time = date("Y-m-d", strtotime("-7 day"));
$end_time = date("Y-m-d", strtotime("-1 day"));
$where_["agent_id"] = $agent_id;
$where_['create_time'] = ['between', [$start_time . " 00:00:00", $end_time . " 23:59:59"]];
$obargain = new OBargainModel();
......
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