From 0024682188a1d7051fa729041067b1ef2046cffa Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Tue, 10 Nov 2020 16:38:45 +0800 Subject: [PATCH] * Fix detail. --- module/programplan/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/model.php b/module/programplan/model.php index 947030cf8d..5403620a2a 100644 --- a/module/programplan/model.php +++ b/module/programplan/model.php @@ -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')