作者 lyh

gx

@@ -30,7 +30,7 @@ class MonthCountLogic extends BaseLogic @@ -30,7 +30,7 @@ class MonthCountLogic extends BaseLogic
30 */ 30 */
31 public function getCountLists($map,$order = 'created_at',$filed = ['*']){ 31 public function getCountLists($map,$order = 'created_at',$filed = ['*']){
32 $map['project_id'] = $this->user['project_id']; 32 $map['project_id'] = $this->user['project_id'];
33 - $lists = $this->model->list($map,$order,$filed); 33 + $lists = $this->model->list($map,$order,$filed,'desc',10);
34 if(isset($this->project['is_record_china_visit']) && ($this->project['is_record_china_visit'] == 0)){ 34 if(isset($this->project['is_record_china_visit']) && ($this->project['is_record_china_visit'] == 0)){
35 foreach ($lists as $k => $v){ 35 foreach ($lists as $k => $v){
36 if(empty($v['source_country'])){ 36 if(empty($v['source_country'])){