* Adjust code.

This commit is contained in:
leiyong
2020-08-28 08:54:36 +08:00
parent 980edb8222
commit 969e3cfb5d

View File

@@ -1284,7 +1284,7 @@ class block extends control
{
$this->view->summary = $this->dao->select('count(*) as total, count(if(status="doing", id, null)) as doing, count(if(status="closed", id, null)) as finish')->from(TABLE_PROJECT)
->where('program')->eq($this->session->program)
->where('deleted')->eq('0')
->andWhere('deleted')->eq('0')
->fetch();
}