mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
newTaskAMM без editTaskAMM работает напрямую
This commit is contained in:
@@ -239,12 +239,14 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu
|
||||
case TypeQueryToDB::TYPE_QUERY_ASSIGN_TASK_AMM_TO_TRAINEE:
|
||||
{
|
||||
int id_new;
|
||||
id_new = providerDBLMS->newTaskAMM(id);
|
||||
id_new = providerDBLMS->newTaskAMM(*(TaskAmmFim*)data, id);
|
||||
/*
|
||||
if(id_new)
|
||||
{
|
||||
(*(TaskAmmFim*)data).setID(id_new);
|
||||
providerDBLMS->editTaskAMM(*(TaskAmmFim*)data);
|
||||
}
|
||||
*/
|
||||
//emit sigTasksChanged();
|
||||
//break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user