* [highgo] Cast type

This commit is contained in:
朱金勇
2025-10-17 17:58:53 +08:00
committed by Gitfox
parent bafadba1c3
commit 42535cb341
+2 -2
View File
@@ -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');