Commit 9b51171e authored by zw's avatar zw

bug

parent 5fe75bcb
......@@ -30,11 +30,15 @@ class RankingListService
$this->crewNumMax = 25;
}
/**
* pk业绩
* @param $position
* @param $siteId
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function RankingList($position, $siteId)
{
......@@ -111,7 +115,14 @@ class RankingListService
}
/**
* 门店业绩排行
* @param $siteId
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function StoreRankingList($siteId){
$begin_time = date('Y-m-01 00:00:00', strtotime('-1 month'));
......@@ -180,6 +191,17 @@ class RankingListService
return $result;
}
/**
* 门店排名
* @param $params
* @param $begin_time
* @param $end_time
* @param $ids
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function getStoreSort($params, $begin_time, $end_time, $ids)
{
$storeModel = new AStore();
......@@ -216,12 +238,16 @@ class RankingListService
}
/**
* 个人业绩团队业绩前五
* @param $yesterday
* @param $end_day
* @param $site_id
* @return mixed
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function totalAgent($yesterday, $end_day, $site_id)
{
......
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