正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -29,7 +29,8 @@ class AiCommandController extends BaseController | @@ -29,7 +29,8 @@ class AiCommandController extends BaseController | ||
| 29 | $this->map['name|key|ai'] = ['like','%'.$this->map['scene'].'%']; | 29 | $this->map['name|key|ai'] = ['like','%'.$this->map['scene'].'%']; |
| 30 | unset($this->map['scene']); | 30 | unset($this->map['scene']); |
| 31 | } | 31 | } |
| 32 | - $lists = $aiCommandModel->lists($this->map,$this->page,$this->row,$this->order); | 32 | + $this->order = 'project_id'; |
| 33 | + $lists = $aiCommandModel->lists($this->map,$this->page,$this->row,$this->order,['*'],'asc'); | ||
| 33 | $projectModel = new Project(); | 34 | $projectModel = new Project(); |
| 34 | if(!empty($lists) && !empty($lists['list'])){ | 35 | if(!empty($lists) && !empty($lists['list'])){ |
| 35 | foreach ($lists['list'] as $k => $v){ | 36 | foreach ($lists['list'] as $k => $v){ |
-
请 注册 或 登录 后发表评论