From 9d21c3580688cc96b34e968d27a9ea7b4e3e1c2a Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 4 Jan 2024 15:28:20 +0800 Subject: [PATCH] * Fix bug #42641. --- module/testtask/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/model.php b/module/testtask/model.php index 1ff498e963..a44e90133b 100755 --- a/module/testtask/model.php +++ b/module/testtask/model.php @@ -302,7 +302,7 @@ class testtaskModel extends model */ public function getByUser(string $account, object $pager = null, string $orderBy = 'id_desc', string $type = ''): array { - return $this->dao->select("t1.*, t2.name AS executionName, t2.multiple AS executionMultiple, t5.name AS projectName, t3.name AS buildName, t4.name AS productName") + return $this->dao->select("t1.*, t2.name AS executionName, t2.multiple AS executionMultiple, t5.name AS projectName, t3.name AS buildName, t4.name AS productName, CONCAT(t4.name, '/', t3.name) as executionBuild") ->from(TABLE_TESTTASK)->alias('t1') ->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.execution = t2.id') ->leftJoin(TABLE_BUILD)->alias('t3')->on('t1.build = t3.id')