* Fix bug for #task #55677.

This commit is contained in:
liumengyi
2022-06-01 14:27:56 +08:00
parent 499024e935
commit 61ef8e945f
+1 -2
View File
@@ -4361,7 +4361,6 @@ class storyModel extends model
$forceReviewRoles = !empty($this->config->story->{$forceField . 'Roles'}) ? $this->config->story->{$forceField . 'Roles'} : '';
$forceReviewDepts = !empty($this->config->story->{$forceField . 'Depts'}) ? $this->config->story->{$forceField . 'Depts'} : '';
$forceUsers = '';
if(!empty($this->config->story->{$forceField})) $forceUsers = $this->config->story->{$forceField};
@@ -4371,7 +4370,7 @@ class storyModel extends model
->where('deleted')->eq(0)
->andWhere(0, true)
->beginIF(!empty($forceReviewRoles))
->andWhere('role', true)->in($forceReviewRoles)
->orWhere('(role', true)->in($forceReviewRoles)
->andWhere('role')->ne('')
->markRight(1)
->fi()