This commit is contained in:
王怡栋
2024-03-05 09:32:40 +08:00
parent d055ef82fa
commit 35ea27ee9d
+1
View File
@@ -421,6 +421,7 @@ class releaseModel extends model
}
elseif(($notify == 'ET' || $notify == 'PT') && !empty($release->build))
{
$type = $notify == 'ET' ? 'execution' : 'project';
$table = $notify == 'ET' ? TABLE_BUILD : TABLE_RELEASE;
$members = $this->dao->select('t2.account')->from($table)->alias('t1')
->leftJoin(TABLE_TEAM)->alias('t2')->on("t1.$type=t2.root")