* Finish task #8882,8884.

This commit is contained in:
tianshujie98
2021-01-01 09:54:34 +08:00
parent 40517fa1ec
commit cf613fdbac
14 changed files with 41 additions and 30 deletions
-1
View File
@@ -247,7 +247,6 @@ class riskModel extends model
->where('deleted')->eq('0')
->andWhere($type)->eq($this->app->user->account)->fi()
->beginIF($this->app->rawMethod == 'contribute')->andWhere("status")->in('closed,canceled')->fi()
->beginIF($this->app->rawMethod == 'work')->andWhere("status")->in('active,hangup')->fi()
->orderBy($orderBy)
->page($pager)
->fetchAll();