* Fix code error.

This commit is contained in:
Yagami
2020-09-21 16:04:00 +08:00
parent 9a5fccfa8a
commit 55b0a94586
7 changed files with 58 additions and 59 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ class programplanModel extends model
$projects = $this->getProjectsByProduct($productID);
$plans = $this->dao->select('*')->from(TABLE_PROJECT)
->where('program')->eq($programID)
->andWhere('template')->eq('')
->where('type')->eq('stage')
->andWhere('parent')->eq($programID)
->beginIF($type != 'all')->andWhere('parent')->eq($planID)->fi()
->andWhere('deleted')->eq(0)
->beginIF($productID)->andWhere('id')->in($projects)->fi()