From 717f19414f2bca65a4a46c3a110678b99aed4cf9 Mon Sep 17 00:00:00 2001 From: Anton Kamalov Date: Fri, 22 Nov 2024 21:56:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20sql-=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=D1=87=D0=B8=D1=8F=20=D0=BE=D1=82=D1=87=D1=91=D1=82?= =?UTF-8?q?=D0=B0=20+=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Report/description.txt | 3 +-- App/Report/sql/check_report.sql | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 App/Report/sql/check_report.sql diff --git a/App/Report/description.txt b/App/Report/description.txt index 3889def..0572a31 100644 --- a/App/Report/description.txt +++ b/App/Report/description.txt @@ -10,8 +10,7 @@ ├── __init__.py - файл для инициализации Report как модуль ├── report_model.py - реализация модели варианта работы с отчетами ├── reports.json - файл с названиями отчетов и их идентификаторы -├── sql -│   ├── check_report.sql - sql-запрос для проверки наличия отчета в БД +├── sql  │   ├── sellers_report.sql - sql-запрос для просмотра отчета о поставках поставщиков │   └── workpiece_report.sql - sql-запрос для просмотра отчета о поставках заготовок └── templates diff --git a/App/Report/sql/check_report.sql b/App/Report/sql/check_report.sql deleted file mode 100644 index 7e6106a..0000000 --- a/App/Report/sql/check_report.sql +++ /dev/null @@ -1,4 +0,0 @@ -SELECT EXISTS ( - SELECT 1 FROM reports - WHERE report_category_id = '$id' AND (month = '$month' AND year = '$year') -) AS exist; \ No newline at end of file