* Rename program to PRJ.

This commit is contained in:
Yagami
2020-09-22 15:10:11 +08:00
parent 88a76e1efa
commit ffaf91d467
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1547,7 +1547,7 @@ class userModel extends model
$linkedProjectProducts = array();
if($objectType == 'product')
{
$stmt = $this->dao->select('project,product')->from(TABLE_PROJECTPRODUCT)->alias('t1')
$stmt = $this->dao->select('project,t1.product')->from(TABLE_PROJECTPRODUCT)->alias('t1')
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project=t2.id')
->where('t1.product')->in($objectIdList)
->andWhere('t2.deleted')->eq(0)