/** * 获取合同的其它信息 * @return \yii\db\ActiveQuery */ public function getOther() { return $this->hasOne(Other::className(), ['contr_id' => 'contr_id']); }
/** * 获取合同的其它信息 * @return \yii\db\ActiveQuery */ public function getOther() { return $this->hasOne(Other::className(), ['contr_id' => 'contr_id']); }