mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Перенес TypeQueryToDB в DataBaseLMS
This commit is contained in:
@@ -240,6 +240,19 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu
|
||||
//emit sigTasksChanged();
|
||||
break;
|
||||
}
|
||||
|
||||
case TypeQueryToDB::TYPE_QUERY_ASSIGN_TASK_FIM_TO_TRAINEE:
|
||||
{
|
||||
int id_new;
|
||||
id_new = providerDBLMS->newTaskFIM(id);
|
||||
if(id_new)
|
||||
{
|
||||
(*(TaskAmmFim*)data).setID(id_new);
|
||||
providerDBLMS->editTaskFIM(*(TaskAmmFim*)data);
|
||||
}
|
||||
//emit sigTasksChanged();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//client->sendXmlAnswer(arrayAnswer, PacketType::TYPE_XMLANSWER_QUERY_DB_LIST_INSTRUCTORS);
|
||||
|
||||
Reference in New Issue
Block a user