派生自 development/c++

pansen
2019-04-03 adb08adc83dfe9dc5d6170c2322952d77a93c510
syncDBTool/ErlangDbTool.cpp
@@ -11,6 +11,8 @@
#include <QtCore/QString>
#include <QtCore/QDebug>
#include <QtCore/QVariantList>
#include <basic/util/app/AppPreference.hpp>
using ErlangTool::map_DevDataCache;
using ErlangTool::map_TabDataCache;
@@ -1614,7 +1616,7 @@
    }
    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);
@@ -1760,7 +1762,7 @@
            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");