工作台“未完成任务”显示数量有误问题修复
This commit is contained in:
parent
98362bcdf2
commit
aa7b0bcafb
@ -225,7 +225,7 @@ class Index extends BaseController
|
|||||||
'name' => '任务',
|
'name' => '任务',
|
||||||
'num' => $taskCount,
|
'num' => $taskCount,
|
||||||
);
|
);
|
||||||
$handle['task'] = Db::name('ProjectTask')->where([['director_uid', '=', $this->uid],['delete_time', '=', 0]])->count();
|
$handle['task'] = Db::name('ProjectTask')->where([['director_uid', '=', $this->uid],['flow_status', '<', 3],['delete_time', '=', 0]])->count();
|
||||||
}
|
}
|
||||||
if (in_array('article', $module)) {
|
if (in_array('article', $module)) {
|
||||||
$articleCount = Db::name('Article')->where([['delete_time', '=', 0],['uid', '=', $this->uid]])->count();
|
$articleCount = Db::name('Article')->where([['delete_time', '=', 0],['uid', '=', $this->uid]])->count();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user