mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
verify в EditInstructor
This commit is contained in:
Binary file not shown.
@@ -1,68 +1,36 @@
|
||||
# ninja log v5
|
||||
529 3472 7556210582789339 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
|
||||
63 116 7556089587835465 ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
|
||||
9 510 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
9 510 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
515 3459 7556210582646318 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
|
||||
9 510 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
1168 3150 7548373207023899 CMakeFiles/ServerLMS.dir/messangerwidget.cpp.obj 8dd57f666ed5ecf4
|
||||
118 178 7556089588473760 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.obj f93621c79a78fad0
|
||||
513 3732 7556210585400690 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 12010b53b3caa3fc
|
||||
15 261 7556089586291454 build.ninja 80e6aedf30bdcc22
|
||||
9 510 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
9 510 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
3757 4311 7556210590748452 libServerLMS.dll.a 2f530586cec8163
|
||||
42 52 0 clean 9c4b4372737ab8da
|
||||
510 3569 7556210583749160 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
|
||||
535 1764 7556210565721609 CMakeFiles/ServerLMS.dir/providerdblms.cpp.obj f56962914220ed2d
|
||||
520 3582 7556210583900737 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj f698d155fbad3bd2
|
||||
3757 4311 7556210590748452 libServerLMS.dll 2f530586cec8163
|
||||
67 1245 7555255334257083 CMakeFiles/ServerLMS.dir/Systems/tools.cpp.obj 81bfa701d65b5429
|
||||
15 42 0 CMakeFiles/clean.additional 7155004b3956b606
|
||||
523 3540 7556210583457796 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
|
||||
525 3757 7556210585553591 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
|
||||
9 510 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
518 3592 7556210584001478 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 8ac2c4a8e2ef203c
|
||||
1287 8367 7551893701770796 CMakeFiles/ServerLMS.dir/Systems/logger.cpp.obj 68e3223fc0caab27
|
||||
63 116 7556089587835465 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
|
||||
532 3549 7556210583558675 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj d73c57350f364b58
|
||||
20 57 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
20 57 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
20 57 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
20 57 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
20 57 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
20 57 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
14 45 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
14 45 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
14 45 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
14 45 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
14 45 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
14 45 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
61 804 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
61 804 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
61 804 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
61 804 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
61 804 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
61 804 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
826 2779 7556902306691506 CMakeFiles/ServerLMS.dir/providerdblms.cpp.obj f56962914220ed2d
|
||||
824 3969 7556902318568719 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj d73c57350f364b58
|
||||
816 4009 7556902318962185 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
|
||||
63 116 7556089587835465 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
|
||||
1287 8367 7551893701770796 CMakeFiles/ServerLMS.dir/Systems/logger.cpp.obj 68e3223fc0caab27
|
||||
811 4027 7556902319144502 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 8ac2c4a8e2ef203c
|
||||
821 4030 7556902319184081 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
|
||||
804 4066 7556902319537071 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
|
||||
809 4186 7556902320746871 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
|
||||
20 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
60 2465 7557935709557960 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
|
||||
816 4009 7556902318962185 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
|
||||
15 42 0 CMakeFiles/clean.additional 7155004b3956b606
|
||||
67 1245 7555255334257083 CMakeFiles/ServerLMS.dir/Systems/tools.cpp.obj 81bfa701d65b5429
|
||||
2317 2881 7557893145543186 libServerLMS.dll 2f530586cec8163
|
||||
814 4257 7556902321476316 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj f698d155fbad3bd2
|
||||
819 4466 7556902323529675 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
|
||||
826 2779 7556902306691506 CMakeFiles/ServerLMS.dir/providerdblms.cpp.obj f56962914220ed2d
|
||||
804 4066 7556902319537071 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
|
||||
42 52 0 clean 9c4b4372737ab8da
|
||||
62 2260 7557935707531126 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
|
||||
63 116 7556089587835465 ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
|
||||
20 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
20 58 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
118 178 7556089588473760 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.obj f93621c79a78fad0
|
||||
809 4186 7556902320746871 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
|
||||
20 58 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
1168 3150 7548373207023899 CMakeFiles/ServerLMS.dir/messangerwidget.cpp.obj 8dd57f666ed5ecf4
|
||||
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
|
||||
15 261 7556089586291454 build.ninja 80e6aedf30bdcc22
|
||||
20 58 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
20 58 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
2317 2881 7557893145543186 libServerLMS.dll.a 2f530586cec8163
|
||||
15 46 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
15 46 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
15 46 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
15 46 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||
15 46 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||
15 46 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||
46 593 7557936125072610 libServerLMS.dll 2f530586cec8163
|
||||
46 593 7557936125072610 libServerLMS.dll.a 2f530586cec8163
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,20 +1,5 @@
|
||||
# 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
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.cpp
|
||||
@@ -32,6 +17,21 @@ 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/clienthandler.cpp
|
||||
D:/LMS/ServerLMS/ServerLMS/providerdblms.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/Client.h
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.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/serverlmswidget.h
|
||||
mmc:Q_OBJECT
|
||||
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -112,6 +112,7 @@ void DataParser::xmlParser(ClientHandler *client, QByteArray array)
|
||||
else if(name == "logged_in")
|
||||
instructor.setLoggedIn(value.toInt());
|
||||
break;
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_TRAINEE:
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_TRAINEE:
|
||||
if(name == "trainee_id")
|
||||
trainee.setID(value.toInt());
|
||||
@@ -136,6 +137,7 @@ void DataParser::xmlParser(ClientHandler *client, QByteArray array)
|
||||
trainee.setComputer(computer);
|
||||
}
|
||||
break;
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_GROUP:
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_GROUP:
|
||||
if(name == "group_id")
|
||||
group.setID(value.toInt());
|
||||
@@ -152,9 +154,11 @@ void DataParser::xmlParser(ClientHandler *client, QByteArray array)
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_INSTRUCTOR:
|
||||
data = &instructor;
|
||||
break;
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_TRAINEE:
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_TRAINEE:
|
||||
data = &trainee;
|
||||
break;
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_GROUP:
|
||||
case TypeQueryToDB::TYPE_QUERY_EDIT_GROUP:
|
||||
data = &group;
|
||||
break;
|
||||
|
||||
@@ -143,11 +143,11 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu
|
||||
}
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_INSTRUCTOR:
|
||||
{
|
||||
int id;
|
||||
id = providerDBLMS->newInstructor();
|
||||
if(id)
|
||||
int id_new;
|
||||
id_new = providerDBLMS->newInstructor();
|
||||
if(id_new)
|
||||
{
|
||||
(*(Instructor*)data).setID(id);
|
||||
(*(Instructor*)data).setID(id_new);
|
||||
providerDBLMS->editInstructor(*(Instructor*)data);
|
||||
}
|
||||
emit sigAuthChanged();
|
||||
@@ -168,7 +168,13 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu
|
||||
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_TRAINEE:
|
||||
{
|
||||
providerDBLMS->newTrainee(id);
|
||||
int id_new;
|
||||
id_new = providerDBLMS->newTrainee(id);
|
||||
if(id_new)
|
||||
{
|
||||
(*(Trainee*)data).setID(id_new);
|
||||
providerDBLMS->editTrainee(*(Trainee*)data);
|
||||
}
|
||||
emit sigAuthChanged();
|
||||
break;
|
||||
}
|
||||
@@ -187,7 +193,13 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu
|
||||
|
||||
case TypeQueryToDB::TYPE_QUERY_NEW_GROUP:
|
||||
{
|
||||
providerDBLMS->newGroup();
|
||||
int id_new;
|
||||
id_new = providerDBLMS->newGroup();
|
||||
if(id_new)
|
||||
{
|
||||
(*(Group*)data).setID(id_new);
|
||||
providerDBLMS->editGroup(*(Group*)data);
|
||||
}
|
||||
emit sigAuthChanged();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user