From 42535cb3414ffa749497849cbe66d10b008d3deb 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 17:58:53 +0800 Subject: [PATCH] * [highgo] Cast type --- module/dataview/table/testtask.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/dataview/table/testtask.php b/module/dataview/table/testtask.php index 2e9e716717..b97aa52502 100644 --- a/module/dataview/table/testtask.php +++ b/module/dataview/table/testtask.php @@ -18,9 +18,9 @@ $schema->tables['testtask'] = 'zt_testtask'; $schema->joins = array(); $schema->joins['product'] = '`product`.`id` = `testtask`.`product`'; -$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['build'] = '`build`.`id` = `testtask`.`build`'; +$schema->joins['build'] = '`build`.`id` = CAST(`testtask`.`build` AS DECIMAL)'; $schema->fields = array(); $schema->fields['product'] = array('type' => 'object', 'name' => $this->lang->testtask->product, 'object' => 'product', 'show' => 'product.name');