POST https://dev.tendergpt.uz/lk/api/v3/procedures/search?limit=9&page=1

Query Metrics

3 Database Queries
3 Different statements
66.50 ms Query time
5 Invalid entities
0 Managed entities

Queries

Group similar statements

#▲ Time Info
1 40.95 ms
SELECT COUNT(*) FROM (SELECT DISTINCT p.id_number, p.id, p.id procedure_id, p.registration_number, p.status, p.title, l.starting_price, p.original_price, p.currency, p.type, p.organizer_full_name, p.section, o.full_title_organization, o.inn, o.id organizer_id, p.customer_info_full_title_organization, p.customer_info_address, p.customer_info_email, p.customer_info_phone, p.customer_info_inn, p.registration_number, p.customer_info_last_name, p.customer_info_first_name, p.customer_info_patronymic, p.organizer_info_full_title_organization, p.organizer_info_first_name, p.organizer_info_last_name, p.organizer_info_patronymic, p.procedure_method_id, p.closed_purchase, ppm.title procedure_method_title, p.created_at, pn.publication_date_time, a.start_trading_date, l.start_date_of_applications, l.closing_date_of_applications, l.summing_up_applications, l.summing_up_date, l.review_bids_date, CASE p.status WHEN ? THEN 1 ELSE 2 END AS status_order FROM procedures p INNER JOIN profile_profiles profile ON p.profile_id = profile.id INNER JOIN profile_organizations o ON p.organization_id = o.id INNER JOIN lots l ON p.id = l.procedure_id LEFT JOIN profile_procedure_methods ppm ON p.procedure_method_id = ppm.id LEFT JOIN auctions a ON l.id = a.lot_id INNER JOIN purchase_notices pn ON l.id = pn.lot_id AND pn.type_notice = 'NOTICE_TYPE' INNER JOIN purchase_notice_lots pnl ON l.id = pnl.parent_lot_id INNER JOIN purchase_notice_lot_items pnli ON pnli.purchase_lot_id = pnl.id WHERE (pn.active IS NOT FALSE) AND (pn.status = ?) AND (p.status != ?) AND (ppm.type IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (p.closed_purchase = FALSE)) tmp
Parameters:
[
  "STATUS_ACCEPTING_APPLICATIONS"
  "STATUS_PUBLISHED"
  "STATUS_ARCHIVED"
  "REQUEST_OFFERS"
  "REQUEST_PRICE"
  "CONTEST"
  "MAKE_OFFERS"
  "REQUEST_QUOTATION"
  "QUOTATION_MAKE_OFFERS"
  "COMPETITIVE_SELECTION"
  "PREQUALIFICATION"
  "MINI_PURCHASE"
  "STOCK_MARKET"
  "AUCTION"
  "AUCTION_DOWN"
]
2 22.46 ms
SELECT DISTINCT p.id_number, p.id, p.id procedure_id, p.registration_number, p.status, p.title, l.starting_price, p.original_price, p.currency, p.type, p.organizer_full_name, p.section, o.full_title_organization, o.inn, o.id organizer_id, p.customer_info_full_title_organization, p.customer_info_address, p.customer_info_email, p.customer_info_phone, p.customer_info_inn, p.registration_number, p.customer_info_last_name, p.customer_info_first_name, p.customer_info_patronymic, p.organizer_info_full_title_organization, p.organizer_info_first_name, p.organizer_info_last_name, p.organizer_info_patronymic, p.procedure_method_id, p.closed_purchase, ppm.title procedure_method_title, p.created_at, pn.publication_date_time, a.start_trading_date, l.start_date_of_applications, l.closing_date_of_applications, l.summing_up_applications, l.summing_up_date, l.review_bids_date, CASE p.status WHEN ? THEN 1 ELSE 2 END AS status_order FROM procedures p INNER JOIN profile_profiles profile ON p.profile_id = profile.id INNER JOIN profile_organizations o ON p.organization_id = o.id INNER JOIN lots l ON p.id = l.procedure_id LEFT JOIN profile_procedure_methods ppm ON p.procedure_method_id = ppm.id LEFT JOIN auctions a ON l.id = a.lot_id INNER JOIN purchase_notices pn ON l.id = pn.lot_id AND pn.type_notice = 'NOTICE_TYPE' INNER JOIN purchase_notice_lots pnl ON l.id = pnl.parent_lot_id INNER JOIN purchase_notice_lot_items pnli ON pnli.purchase_lot_id = pnl.id WHERE (pn.active IS NOT FALSE) AND (pn.status = ?) AND (p.status != ?) AND (ppm.type IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (p.closed_purchase = FALSE) ORDER BY status_order ASC, l.start_date_of_applications DESC, p.id_number DESC LIMIT 9
Parameters:
[
  "STATUS_ACCEPTING_APPLICATIONS"
  "STATUS_PUBLISHED"
  "STATUS_ARCHIVED"
  "REQUEST_OFFERS"
  "REQUEST_PRICE"
  "CONTEST"
  "MAKE_OFFERS"
  "REQUEST_QUOTATION"
  "QUOTATION_MAKE_OFFERS"
  "COMPETITIVE_SELECTION"
  "PREQUALIFICATION"
  "MINI_PURCHASE"
  "STOCK_MARKET"
  "AUCTION"
  "AUCTION_DOWN"
]
3 3.09 ms
SELECT t.key, t.value FROM translates t INNER JOIN languages l ON t.language_id = l.id WHERE (l.code = ?) AND (t.status = ?) ORDER BY t.key ASC
Parameters:
[
  "ru"
  "STATUS_ACTIVE"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects

Entities Mapping

Class Mapping errors
App\Model\User\Entity\Profile\EIS No errors.
App\Model\User\Entity\Profile\EsiaToken No errors.
App\Model\User\Entity\Profile\Profile
  • The mappings App\Model\User\Entity\Profile\Profile#documents and App\Model\User\Entity\Profile\Document\ProfileDocument#profile are inconsistent with each other.
  • The field App\Model\User\Entity\Profile\Profile#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Model\User\Entity\User\User#profile does not contain the required 'mappedBy: "user"' attribute.
  • The field App\Model\User\Entity\Profile\Profile#payment is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Model\User\Entity\Profile\Payment\Payment#profile does not contain the required 'mappedBy: "payment"' attribute.
  • The field App\Model\User\Entity\Profile\Profile#commissions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\User\Entity\Profile\Commission\Commission#profile does not contain the required 'inversedBy: "commissions"' attribute.
  • The field App\Model\User\Entity\Profile\Profile#purchaseMethodJoins is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Purchase\Entity\OrderClause\Join\Join#organizer does not contain the required 'inversedBy: "purchaseMethodJoins"' attribute.
  • The field App\Model\User\Entity\Profile\Profile#purchaseOrderClauses is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Purchase\Entity\OrderClause\OrderClause#organizer does not contain the required 'inversedBy: "purchaseOrderClauses"' attribute.
  • The mappings App\Model\User\Entity\Profile\Profile#logs and App\Model\User\Entity\Profile\Logs\Logs#profile are inconsistent with each other.
  • The mappings App\Model\User\Entity\Profile\Profile#okveds and App\Model\User\Entity\Profile\Okveds\Okveds#profile are inconsistent with each other.
  • The field App\Model\User\Entity\Profile\Profile#plans is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Purchase\Entity\Plan\PurchasePlan#organizer does not contain the required 'inversedBy: "plans"' attribute.
App\Model\Work\Procedure\Entity\Lot\Bid\Bid
  • The field App\Model\Work\Procedure\Entity\Lot\Bid\Bid#criterias is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Lot\Bid\Criterias\Criterias#bid does not contain the required 'inversedBy: "criterias"' attribute.
  • The association App\Model\Work\Procedure\Entity\Lot\Bid\Bid#requisite refers to the inverse side field App\Model\User\Entity\Profile\Requisite\Requisite#bids which does not exist.
  • The field App\Model\Work\Procedure\Entity\Lot\Bid\Bid#purchaseServices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Lot\Bid\PurchaseServices\PurchaseServices#bid does not contain the required 'inversedBy: "purchaseServices"' attribute.
  • The field App\Model\Work\Procedure\Entity\Lot\Bid\Bid#offers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Lot\Auction\Offer\Offer#bid does not contain the required 'inversedBy: "offers"' attribute.
App\Model\Work\Procedure\Entity\CustomerInfo No errors.
App\Model\Work\Procedure\Entity\OrganizerInfo No errors.
App\Model\Work\Procedure\Entity\ProvisionBid\ProvisionBid No errors.
App\Model\Work\Procedure\Entity\ProvisionContract\ProvisionContract No errors.
App\Model\Work\Procedure\Entity\Procedure
  • The field App\Model\Work\Procedure\Entity\Procedure#lots is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Lot\Lot#procedure does not contain the required 'inversedBy: "lots"' attribute.
  • The association App\Model\Work\Procedure\Entity\Procedure#xmlDocuments refers to the owning side field App\Model\Work\Procedure\Entity\XmlDocument\XmlDocument#bid which does not exist.
  • The field App\Model\Work\Procedure\Entity\Procedure#protocols is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Protocol\Protocol#procedure does not contain the required 'inversedBy: "protocols"' attribute.
  • The field App\Model\Work\Procedure\Entity\Procedure#purchaseProtocols is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Purchase\Entity\Protocol\PurchaseProtocol#procedure does not contain the required 'inversedBy: "purchaseProtocols"' attribute.
  • The mappings App\Model\Work\Procedure\Entity\Procedure#options and App\Model\Work\Procedure\Entity\Option\Option#procedure are inconsistent with each other.
App\Model\Domain\Partner\Entity\OrganizationInfo No errors.
App\Model\Domain\Partner\Entity\Partner No errors.
App\Model\User\Entity\Profile\Tariff\Tariff No errors.
App\Model\User\Entity\Organization\Joins\Joins No errors.
App\Model\Work\Purchase\Entity\Protocol\PurchaseProtocol No errors.
App\Model\Work\Purchase\Entity\Protocol\Cancel\ProtocolCancel No errors.
App\Model\Domain\SigningPassword\Entity\SigningPassword No errors.
App\Model\User\Entity\User\Notification\Content No errors.
App\Model\User\Entity\User\Notification\Notification No errors.
App\Model\User\Entity\Profile\Payment\Transaction\Transaction No errors.
App\Model\Work\Procedure\Entity\Lot\InformationContract\InformationContract No errors.
App\Model\Work\Procedure\Entity\Lot\PurchaseCategory No errors.
App\Model\Work\Procedure\Entity\Lot\Lot
  • The mappings App\Model\Work\Procedure\Entity\Lot\Lot#finalBids and App\Model\Work\Procedure\Entity\Lot\Bid\FinalBids\FinalBid#lot are inconsistent with each other.
  • The field App\Model\Work\Procedure\Entity\Lot\Lot#purchaseServices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Lot\PurchaseServices\PurchaseServices#lot does not contain the required 'inversedBy: "purchaseServices"' attribute.
  • The field App\Model\Work\Procedure\Entity\Lot\Lot#bidArchiveTask is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Model\Work\Procedure\Entity\Lot\Archive\Bids\Task\BidArchiveTask#lot does not contain the required 'inversedBy: "bidArchiveTask"' attribute.
App\Model\User\Entity\Profile\Tariff\Levels\Level No errors.
App\Model\Admin\Entity\Procedure\Methods\ProcedureMethod No errors.
App\Model\User\Entity\Profile\Procedure\Methods\ProcedureMethod No errors.
App\Model\Admin\Entity\Tariff\Levels\Level No errors.
App\Model\Domain\Totp\Entity\Totp No errors.
App\Model\User\Entity\User\ConfirmToken No errors.
App\Model\User\Entity\User\ResetToken No errors.
App\Model\User\Entity\User\NewEmailResetToken No errors.
App\Model\User\Entity\User\FullName No errors.
App\Model\User\Entity\User\EsiaToken No errors.
App\Model\User\Entity\User\User
  • The field App\Model\User\Entity\User\User#profile is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Model\User\Entity\Profile\Profile#user does not contain the required 'mappedBy: "profile"' attribute.
  • The field App\Model\User\Entity\User\User#positions is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Model\User\Entity\Organization\Position\Position#organizer does not contain the required 'mappedBy: "positions"' attribute.
  • If association App\Model\User\Entity\User\User#positions is many-to-one, then the inversed side App\Model\User\Entity\Organization\Position\Position#organizer has to be one-to-many.