}
if (count($ar)) {
- $x->whereAddIn($x->tableName(). '.'.$key,$ar, $quote ? 'string' : 'int');
+
+
+ $x->whereAddIn(
+ isset($this->colsJoinName[$key]) ?
+ $this->colsJoinName[$key] :
+ $x->tableName(). '.'.$key,
+ $ar, $quote ? 'string' : 'int');
}
continue;