| | |
| | | #include <QtCore/QString> |
| | | #include <QtCore/QDebug> |
| | | #include <QtCore/QVariantList> |
| | | #include <basic/util/app/AppPreference.hpp> |
| | | |
| | | |
| | | using ErlangTool::map_DevDataCache; |
| | | using ErlangTool::map_TabDataCache; |
| | |
| | | } |
| | | if (str_tableUuid.size() > 0) { |
| | | QString sql = QString::fromStdString( |
| | | "Select a.uuid as id ,a.faceUrl as img,a.feature,b.idCard as idcard,b.enable,b.monitorLevel from '" + |
| | | "Select a.uuid as id ,a.faceUrl as img,a.feature,b.idCard as idcard,b.enabled,b.monitorLevel from '" + |
| | | str_tableUuid + |
| | | "_fea' as a ,'" + str_tableUuid + "' as b where a.uuid = b.uuid and ( a.del_flag=0 AND b.del_flag=0);"); |
| | | QSqlQuery query(g_syncDbFile); |
| | |
| | | ETERM *fromp, *tuplep, *fnp, *argp, *resp; |
| | | |
| | | int port; /* Listen port number */ |
| | | port = PORT; |
| | | port = appPref.getIntData("ErlNodePort"); |
| | | /* Make a listen socket */ |
| | | if ((listen = my_listen(port)) <= 0) { |
| | | ERR("my_listen is error"); |