* Finish task #7515,7516,7517,7518,7524,7525,7526.

This commit is contained in:
holan20180123
2020-07-25 11:59:55 +08:00
parent d4d0453a70
commit 657620244b
5 changed files with 20 additions and 21 deletions
+1
View File
@@ -134,6 +134,7 @@ class blockModel extends model
$blocks = $this->dao->select('*')->from(TABLE_BLOCK)->where('account')->eq($this->app->user->account)
->andWhere('module')->eq($module)
->andWhere('hidden')->eq(0)
->beginIF($this->config->global->flow != 'full')->andWhere('block')->notin('flowchart')->fi()
->beginIF($this->config->global->flow == 'onlyStory')->andWhere('source')->notin('project,qa')->fi()
->beginIF($this->config->global->flow == 'onlyTask')->andWhere('source')->notin('product,qa')->fi()
->beginIF($this->config->global->flow == 'onlyTest')->andWhere('source')->notin('product,project')->fi()