From 5cf210c47bf068b55870f732a3f6c68ed7e15f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Fri, 17 Oct 2025 18:02:23 +0800 Subject: [PATCH] * [highgo] Cast type --- module/dataview/table/testresult.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/dataview/table/testresult.php b/module/dataview/table/testresult.php index 9b54b78b9b..245f0cf0ac 100644 --- a/module/dataview/table/testresult.php +++ b/module/dataview/table/testresult.php @@ -29,10 +29,10 @@ $schema->joins = array(); $schema->joins['testcase'] = '`testcase`.`id` = `testresult`.`case`'; $schema->joins['testrun'] = '`testrun`.`id` = `testresult`.`run`'; $schema->joins['testtask'] = '`testrun`.`task` = `testtask`.`id`'; -$schema->joins['project'] = '`project`.`id` = `testtask`.`project`'; +$schema->joins['project'] = '`project`.`id` = CAST(`testtask`.`project` AS DECIMAL)'; $schema->joins['execution'] = '`execution`.`id` = `testtask`.`execution`'; $schema->joins['casemodule'] = '`casemodule`.`id` = `testcase`.`module`'; -$schema->joins['build'] = '`build`.`id` = `testtask`.`build`'; +$schema->joins['build'] = '`build`.`id` = CAST(`testtask`.`build` AS DECIMAL)'; $schema->joins['caselib'] = '`caselib`.`id` = `testcase`.`lib`'; $schema->joins['product'] = '`product`.`id` = `testcase`.`product`';