Skip to content

Alterar processWhereGridParameters #129

@bjverde

Description

@bjverde

Alterar o geradorDao para informar o DBMS da conexão para ficar semelhante o código abaixo

	//--------------------------------------------------------------------------------
	private function processWhereGridParameters( $whereGrid ) {
		$result = $whereGrid;
		if ( is_array($whereGrid) ){
            $dbms = $this->getTPDOConnection()->getDbms();
			$where = ' 1=1 ';
			$where = SqlHelper::getAtributeWhereGridParameters($where, $whereGrid, 'ICODIGO'   ,SqlHelper::SQL_TYPE_NUMERIC  ,null,null,$dbms);
			$where = SqlHelper::getAtributeWhereGridParameters($where, $whereGrid, 'IMATRICULA',SqlHelper::SQL_TYPE_NUMERIC  ,null,null,$dbms);
			$result = $where;
		}
		return $result;
	}

Releted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions