From 9e0acf0893e8c3de845f18eec6367a948194a987 Mon Sep 17 00:00:00 2001 From: krivoshein Date: Mon, 19 Jan 2026 10:53:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=20=D0=BE=D0=B1.=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B8=20=D0=BE=D1=82=D0=BF=D1=80.=20=D1=81=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=B0=20=D0=BE=D0=B1.=20=D0=B2=20=D0=93?= =?UTF-8?q?=D0=A3=D0=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LibServer/Systems/processingsystem.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/LibServer/Systems/processingsystem.cpp b/LibServer/Systems/processingsystem.cpp index 96b15e9..ef8398f 100644 --- a/LibServer/Systems/processingsystem.cpp +++ b/LibServer/Systems/processingsystem.cpp @@ -259,6 +259,15 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu arrayAnswer = dataParser->DbAnswer()->listTrainees(true, &listTrainees); //client->sendXmlAnswer(arrayAnswer, PacketType::TYPE_XMLANSWER_QUERY_DB__LIST_TRAINEES); client->sendFileBlockByteArray(arrayAnswer, PacketType::TYPE_XMLANSWER_QUERY_DB__LIST_TRAINEES); + + for(Trainee trainee : listTrainees) + { + //Отправка списка задач AMM этого обучаемого клиенту GUI + sendListTasksAMMofTraineetoClient(client, trainee.getID()); + //Отправка списка задач FIM этого обучаемого клиенту GUI + sendListTasksFIMofTraineetoClient(client, trainee.getID()); + } + break; } case TypeQueryToDB::TYPE_QUERY_NEW_INSTRUCTOR: