From 1c3d9fc534405f2858e509848eb8fe22c3f633f6 Mon Sep 17 00:00:00 2001 From: mirzakaev_tf Date: Fri, 7 Jun 2024 14:54:58 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=20=D1=82=D0=B0=D0=B1?= =?UTF-8?q?=D0=BB=D0=B8=D1=87=20=D0=B2=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=20?= =?UTF-8?q?=D1=81=D1=8D=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/Admin manuals/Настройка СЭД для администраторов/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Admin manuals/Настройка СЭД для администраторов/index.md b/docs/Admin manuals/Настройка СЭД для администраторов/index.md index 8ee2188..a92629e 100644 --- a/docs/Admin manuals/Настройка СЭД для администраторов/index.md +++ b/docs/Admin manuals/Настройка СЭД для администраторов/index.md @@ -142,7 +142,7 @@ Основной атрибут | Зависимые атрибуты | Вычисления -----------------|--------------------|----------- #Table1_worker# | #Table1_worker_tabn# | (select "NumTab" from rp."RP_Worker" where "VCode" = #Table1_worker#) -#Table1_worker# | #Table1_worker_post# | (select rpwm."IdPost" from rp."RP_Worker" w join rp."RP_WorkerMove" rpwm on rpwm."IdWorker" = w."VCode" where w."VCode" = | #Table1_worker# | and w."NumTab" = #Table1_worker_tabn# order by coalesce(rpwm."DateEnd",'20700101') desc limit 1 ) +#Table1_worker# | #Table1_worker_post# | (select rpwm."IdPost" from rp."RP_Worker" w join rp."RP_WorkerMove" rpwm on rpwm."IdWorker" = w."VCode" where w."VCode" = #Table1_worker# and w."NumTab" = #Table1_worker_tabn# order by coalesce(rpwm."DateEnd",'20700101') desc limit 1 ) #Table1_worker_tabn# | #Table1_worker# | (select "VCode" from rp."RP_Worker" where "NumTab" = #Table1_worker_tabn# order by coalesce("DateEnd",'20700101'::date) desc limit 1) В этом случае пользователю будет достаточно заполнить столбец "Табельный номер", а остальные атрибуты будут заполнены автоматически.