Commit 7c615e4f authored by clone's avatar clone

Merge branch 'chat_0705' of https://gitee.com/zwyjjc/tl_estate into chat_0705

parents acadba45 62678912
...@@ -221,6 +221,7 @@ class StatementService ...@@ -221,6 +221,7 @@ class StatementService
$obargain = new OBargainModel(); $obargain = new OBargainModel();
$performanceSum = $obargain->getAddBargainNum($where_, 1);//1表示业绩 2表示实收 $performanceSum = $obargain->getAddBargainNum($where_, 1);//1表示业绩 2表示实收
$result["director_performance_month"] = isset($performanceSum[0]["num"]) ? $performanceSum[0]["num"] : 0; $result["director_performance_month"] = isset($performanceSum[0]["num"]) ? $performanceSum[0]["num"] : 0;
//todo 上周业绩 //todo 上周业绩
$where_ = []; $where_ = [];
$start_time = date("Y-m-d", strtotime("-14 day")); $start_time = date("Y-m-d", strtotime("-14 day"));
......
...@@ -512,7 +512,6 @@ class OReportModel extends Model ...@@ -512,7 +512,6 @@ class OReportModel extends Model
AND `a`.`status` = 0 AND `a`.`status` = 0
AND `b`.`is_del` = 0 AND `b`.`is_del` = 0
) ) as aaa $where_params"; ) ) as aaa $where_params";
var_dump($sql);
$result = $this->db->query($sql); $result = $this->db->query($sql);
//echo $this->getLastSql(); //echo $this->getLastSql();
......
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