Aleksey Maslov
Winning proposal- Projects 22
- Rating -
- Rating 591
Budget: 500 UAH Deadline: 1 day
Good day . Ready to help.
The details were discussed in the LS - the text was enough to send the bet.
Budget: 400 UAH Deadline: 1 day
Good day . You can either simply provide requests for search. Or we can discuss up to the smart search for a task.
Proposals concealed
Proposals are currently absent
-
Aleksandr Tkachenko
28 April 2020
private function getTecDocResults($query, $step = 1) {
$sql = "SELECT
ARL.ARL_SEARCH_NUMBER,
BRANDS.BRA_BRAND as BRAND,
ART.ART_ARTICLE_NR,
ARL.ARL_BRA_ID,
SUP.SUP_BRAND,
TEX.TEX_TEXT,
TEX.TEX_ID
FROM ART_LOOKUP ARL
LEFT JOIN BRANDS ON (BRANDS.BRA_ID = ARL.ARL_BRA_ID)
INNER JOIN ARTICLES ART ON (ART.ART_ID = ARL.ARL_ART_ID)
INNER JOIN SUPPLIERS SUP ON (SUP.SUP_ID = ART.ART_SUP_ID)
INNER JOIN DESIGNATIONS DES ON (DES.DES_ID = ART.ART_COMPLETE_DES_ID)
INNER JOIN DES_TEXTS TEX ON (DES.DES_TEX_ID = TEX.TEX_ID)
WHERE DES.DES_LNG_ID = 16 AND ARL.ARL_SEARCH_NUMBER = '$query'
GROUP BY BRAND";
if($step == 2) {
$sql = "SELECT DISTINCT
IF (ART_LOOKUP2.ARL_KIND = 3, BRANDS2.BRA_BRAND, SUPPLIERS2.SUP_BRAND) AS BRAND,
IF (ART_LOOKUP2.ARL_KIND IN (2, 3), ART_LOOKUP2.ARL_DISPLAY_NR, ARTICLES2.ART_ARTICLE_NR) AS NUMBER,
ART_LOOKUP2.ARL_KIND,
ARTICLES.ART_ARTICLE_NR,
ART_LOOKUP.ARL_BRA_ID,
SUPPLIERS.SUP_BRAND,
DES_TEXTS.TEX_TEXT,
DES_TEXTS.TEX_ID
FROM
ART_LOOKUP
LEFT JOIN BRANDS ON BRANDS.BRA_ID = ART_LOOKUP.ARL_BRA_ID
INNER JOIN ARTICLES ON ARTICLES.ART_ID = ART_LOOKUP.ARL_ART_ID
INNER JOIN SUPPLIERS ON SUPPLIERS.SUP_ID = ARTICLES.ART_SUP_ID
INNER JOIN ART_LOOKUP AS ART_LOOKUP2 FORCE KEY (PRIMARY) ON ART_LOOKUP2.ARL_ART_ID = ART_LOOKUP.ARL_ART_ID
LEFT JOIN BRANDS AS BRANDS2 ON BRANDS2.BRA_ID = ART_LOOKUP2.ARL_BRA_ID
INNER JOIN ARTICLES AS ARTICLES2 ON ARTICLES2.ART_ID = ART_LOOKUP2.ARL_ART_ID
INNER JOIN SUPPLIERS AS SUPPLIERS2 FORCE KEY (PRIMARY) ON SUPPLIERS2.SUP_ID = ARTICLES2.ART_SUP_ID
INNER JOIN DESIGNATIONS ON (DESIGNATIONS.DES_ID = ARTICLES.ART_COMPLETE_DES_ID)
INNER JOIN DES_TEXTS ON (DESIGNATIONS.DES_TEX_ID = DES_TEXTS.TEX_ID)
WHERE
DESIGNATIONS.DES_LNG_ID = 16 AND
ART_LOOKUP.ARL_SEARCH_NUMBER = '$query' AND
(ART_LOOKUP.ARL_KIND IN (3, 4) AND BRANDS.BRA_BRAND = '".Tools::getValue('td_brand')."' OR
SUPPLIERS.SUP_BRAND = '".Tools::getValue('td_brand')."') AND
(ART_LOOKUP.ARL_KIND, ART_LOOKUP2.ARL_KIND) IN
((1, 1), (1, 2), (1, 3),
(2, 1), (2, 2), (2, 3),
(3, 1), (3, 2), (3, 3),
(4, 1))
ORDER BY
BRAND,
NUMBER
;";
}
//print_r(json_encode($this->pdo->query($sql)->fetchAll()));
return $this->pdo->query($sql)->fetchAll();
return $this->pdo->query("
SELECT
ART.ART_ARTICLE_NR,
SUP.SUP_BRAND,
TEX.TEX_TEXT,
TEX.TEX_ID
FROM ART_LOOKUP ARL
INNER JOIN ARTICLES ART ON (ART.ART_ID = ARL.ARL_ART_ID)
INNER JOIN SUPPLIERS SUP ON (SUP.SUP_ID = ART.ART_SUP_ID)
INNER JOIN DESIGNATIONS DES ON (DES.DES_ID = ART.ART_COMPLETE_DES_ID)
INNER JOIN DES_TEXTS TEX ON (DES.DES_TEX_ID = TEX.TEX_ID)
WHERE DES.DES_LNG_ID = 16 AND ARL.ARL_SEARCH_NUMBER = '$query' AND ARL.ARL_KIND IN ('3') ".($step == 1 ? 'GROUP BY TEX.TEX_ID' : '')." ORDER BY ARL_BRA_ID
")->fetchAll();
}
-
Aleksey Maslov 28 April 2020На каком этапе не все артикулы получаете? При поиске кроссов? Или при поиске брендов и описания с артикулом?
Current freelance projects in the category PHP
Copying the database and front for the database (Currently, the front is partially copied and some characteristics are incorrect. The parser filled the database with its own characteristics) Synchronizing the parser with the database and the characteristics of the database Fixing the bug in the parser agent Cropping photos proportionally to the watermark that comes from the parser Working with the buffer with the new database and tools with the objects of this database Fixing minor bugs: for example, text in pop-ups, or small issues on the front, bugs that appear during task execution Connecting a new storage for media storage Logs have stopped writing to the financial operations table, which affects the balance and tariff plan pages (payment of the tariff, account replenishment (successful/not)) Check the payment functionality again and then replace the test billing API from Monobank with the real one Refine access rights for the database administrator user There are currently hanging processes that load the server; this needs to be checked The logic of comments and notes is currently working incorrectly; it needs to be such that for the same object in 2 databases - comments are tied to each database, not to the object, the source of which is the object of this database (I can explain in more detail in private) Fix the sorting in the databases correctly (Currently from the first added to the last. It needs to be the opposite; the sorting functionality is created) Check and correct the accuracy of filters in the databases, possibly add restrictions on filtering with large data volumes
It is necessary to migrate a custom project from CodeIgniter 2 to Laravel 12. I will provide details in private messages.
Project The existing website is developed on Symfony. The project needs to be taken over for support, familiarize with the code, and subsequently carry out improvements. Main tasks Implement all technical recommendations from the SEO specialist according to the provided technical assignment. Make changes to the monument configurator according to a separate list of requirements. Implement the updated website design (layout and integration of the new design). Carry out further technical improvements and support for the website as needed. Expectations from the developer Familiarization with the project structure and codebase. Assessment of costs and timelines for each stage. Adherence to the existing project architecture and quality implementation of changes. Maintaining communication regarding task execution and possible technical solutions.
I want a bot for Telegram. Loading dialogues. With the help of AI, checking for potential lies. A website with advanced features. Registration, API, statistics, etc.
It is necessary to migrate the Opencart online store from PHP 7.4 to PHP 8.x. Currently, the core version is 3.0.3.8. We read that most likely the core will also need to be migrated to version 4.0 and there shouldn't be many difficulties... The functionality is mostly custom, and there are also Simple, OCFilter, Nova Poshta. We are waiting for recommendations and an approximate price. Ideally, someone who has already done similar work.