* Fix detail.

This commit is contained in:
Yagami
2020-11-10 16:39:45 +08:00
parent 759bf9e1e7
commit 0024682188
+1 -1
View File
@@ -870,7 +870,7 @@ class programplanModel extends model
return $this->dao->select('t1.id, t1.name')->from(TABLE_PROJECT)->alias('t1')
->leftJoin(TABLE_PROJECTPRODUCT)->alias('t2')->on('t1.id=t2.project')
->where('t2.product')->eq($productID)
->andWhere('t1.type')->eq('project')
->andWhere('t1.type')->eq('stage')
->andWhere('t1.milestone')->eq(1)
->andWhere('t1.deleted')->eq(0)
->orderBy('t1.begin asc')