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: