* [highgo] Cast type
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user