mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
до изменения NEW_GROUP
This commit is contained in:
Binary file not shown.
@@ -56,3 +56,13 @@
|
||||
807 4552 7556902324401138 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 12010b53b3caa3fc
|
||||
4552 5392 7556902332135074 libServerLMS.dll 2f530586cec8163
|
||||
4552 5392 7556902332135074 libServerLMS.dll.a 2f530586cec8163
|
||||
31 83 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
31 83 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
31 83 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
31 83 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
31 83 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
31 83 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
86 2197 7557879858492734 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
|
||||
84 2445 7557879860987697 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
|
||||
2445 3116 7557879867257378 libServerLMS.dll 2f530586cec8163
|
||||
2445 3116 7557879867257378 libServerLMS.dll.a 2f530586cec8163
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,17 @@
|
||||
# Generated by CMake. Changes will be overwritten.
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/logger.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/providerdblms.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Client.h
|
||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.h
|
||||
D:/LMS/ServerLMS/ServerLMS/providerdblms.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/clienthandler.cpp
|
||||
@@ -19,19 +32,6 @@ D:/LMS/ServerLMS/ServerLMS/typesDataServerClient.h
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/tools.h
|
||||
D:/LMS/ServerLMS/ServerLMS/clienthandler.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.h
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/Client.h
|
||||
D:/LMS/ServerLMS/ServerLMS/providerdblms.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/logger.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -95,6 +95,7 @@ void DataParser::xmlParser(ClientHandler *client, QByteArray array)
|
||||
{
|
||||
switch (queryToDB.typeQuery)
|
||||
{
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_INSTRUCTOR:
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_INSTRUCTOR:
|
||||
if(name == "instructor_id")
|
||||
instructor.setID(value.toInt());
|
||||
@@ -147,6 +148,7 @@ void DataParser::xmlParser(ClientHandler *client, QByteArray array)
|
||||
|
||||
switch (queryToDB.typeQuery)
|
||||
{
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_INSTRUCTOR:
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_INSTRUCTOR:
|
||||
data = &instructor;
|
||||
break;
|
||||
|
||||
@@ -143,7 +143,13 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu
|
||||
}
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_INSTRUCTOR:
|
||||
{
|
||||
providerDBLMS->newInstructor();
|
||||
int id;
|
||||
id = providerDBLMS->newInstructor();
|
||||
if(id)
|
||||
{
|
||||
(*(Instructor*)data).setID(id);
|
||||
providerDBLMS->editInstructor(*(Instructor*)data);
|
||||
}
|
||||
emit sigAuthChanged();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user