* [task#134797] fix get mr sql.

This commit is contained in:
liyang
2024-12-30 08:50:29 +08:00
committed by 曹延义
parent ca2deb2774
commit a11eb28c25
+3 -2
View File
@@ -1057,9 +1057,10 @@ class dataset
public function getMRs($fieldList)
{
return $this->dao->select($fieldList)->from(TABLE_MR)->alias('t1')
->leftJoin(TABLE_REPO)->alias('t2')->on('t1.hostID = t2.id')
->leftJoin(TABLE_REPO)->alias('t2')->on('t1.repoID = t2.id')
->where('t1.deleted')->eq('0')
->andWhere('t2.deleted')->eq('0');
->andWhere('t2.deleted')->eq('0')
->andWhere('t1.isFlow')->eq('0');
}
/**