* Add item drop down menu.

This commit is contained in:
leiyong
2020-09-22 08:54:03 +08:00
parent 9b7d53c4c7
commit 85d698582c
7 changed files with 256 additions and 139 deletions
+1
View File
@@ -546,6 +546,7 @@ class commonModel extends model
$recentProjects = $this->dao->select('id,code')->from(TABLE_PROJECT)
->where('type')->eq('project')
->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->projects)->fi()
->andWhere('status')->ne('close')
->andWhere('deleted')->eq('0')
->orderBy('id_desc')