mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Отправка списков задач клиенту Юнити
This commit is contained in:
@@ -222,6 +222,24 @@ bool ProviderDBLMS::deAuthorizationAll()
|
||||
return res1 && res2;
|
||||
}
|
||||
|
||||
int ProviderDBLMS::getIdTraineeByLogin(QString login)
|
||||
{
|
||||
int id_trainee = 0;
|
||||
qDebug() << "ProviderDBLMS " << QThread::currentThreadId();
|
||||
mtxAccess.lock();
|
||||
|
||||
if(! dbLMS->DBisConnected())
|
||||
{
|
||||
mtxAccess.unlock();
|
||||
return id_trainee;
|
||||
}
|
||||
|
||||
id_trainee = dbLMS->getIdTraineeByLogin(login);
|
||||
|
||||
mtxAccess.unlock();
|
||||
return id_trainee;
|
||||
}
|
||||
|
||||
QList<Instructor> ProviderDBLMS::GetListAllInstructors()
|
||||
{
|
||||
QList<Instructor> listInstructors;
|
||||
|
||||
Reference in New Issue
Block a user