yii2判断数据是否存在
$exists = ModelName::find()->where([ 'column_name' => $value])->andWhere(['column_name' => $value])->exists();