$id]); } public static function updateByMerchantId($id, $data) { return self::updateByCondition(['merchantId' => $id], $data); } }