From b084a30ea2f03751f2966a7b53f7f932b4c0bfdc Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 4 Jan 2024 15:30:08 +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 a44e90133b..2d27ca546e 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, CONCAT(t4.name, '/', t3.name) as executionBuild") + 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(t2.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')