src/Data/BizDataSql.php
public function addJoinTable($tableJoin, $sqlHelper=null)
    {
        $table = $tableJoin->table;
        $joinType = $tableJoin->joinType;
        $column = $tableJoin->column;
        $joinRef = $tableJoin->joinRef;
        $columnRef = $tableJoin->columnRef;
		$joinCondition = $tableJoin->joinCondition;

        $alias = "T".(count($this->_joinAliasList)+1);   // start with T1, T2
        $this->_joinAliasList[$tableJoin->objectName] = $alias;
        $this->_tableAliasList[$table] = $alias;
        $aliasRef = $this->getJoinAlias($joinRef);
        $this->_tableJoins .= " $joinType `$table` $alias ON $alias.$column = $aliasRef.$columnRef ";
		if (!empty($joinCondition)) {
			$this->_tableJoins .= " AND $joinCondition";
			$this->hasJoinCondition = true;
		}
    }
public function addJoinTable($tableJoin, $sqlHelper=null)
    {
        $table = $tableJoin->table;
        $joinType = $tableJoin->joinType;
        $column = $tableJoin->column;
        $joinRef = $tableJoin->joinRef;
        $columnRef = $tableJoin->columnRef;
		$joinCondition = $tableJoin->joinCondition;

        $alias = "T".(count($this->_joinAliasList)+1);   // start with T1, T2
        $this->_joinAliasList[$tableJoin->objectName] = $alias;
        $this->_tableAliasList[$table] = $alias;
        $aliasRef = $this->getJoinAlias($joinRef);
        $this->_tableJoins .= " $joinType `$table` $alias ON $alias.$column = $aliasRef.$columnRef ";
		if (!empty($joinCondition)) {
			$this->_tableJoins .= " AND $joinCondition";
			$this->hasJoinCondition = true;
		}
    }
Add a join table in the sql statement Ti alias
<pre>
SELECT T1.col, T2.col
FROM table1 T1
INNER JOIN table2 T2 ON T1.col1=T2.col1
LEFT JOIN  table3 T3 ON T1.col1=T3.col1
WHERE
</pre>

@param TableJoin $tableJoin table join object
@return void