where(['addons_name' => $name, 'app_id' => $app_id]) ->andFilterWhere(['merchant_id' => $merchant_id]) ->one(); } }