+ Add deployment get method.

This commit is contained in:
caoyanyi
2023-10-09 10:23:36 +08:00
parent ac2ff539dc
commit ba36f4196f
+16
View File
@@ -518,6 +518,22 @@ class dataset
->query();
}
/**
* 获取上线计划数据。
* Get deployment data.
*
* @param string $fieldList
* @access public
* @return PDOStatement
*/
public function getDeployment($fieldList)
{
return $this->dao->select($fieldList)->from(TABLE_DEPLOY)->alias('t1')
->leftJoin(TABLE_DEPLOYPRODUCT)->alias('t2')->on('t1.id=t2.deploy')
->where('t1.deleted')->eq('0')
->query();
}
/**
* 获取流水线数据。
* Get pipeline.