From 7e4c22de7080b00a2575b489a700d70550cce6ff Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期四, 14 三月 2019 17:39:17 +0800 Subject: [PATCH] fix bug --- syncDBTool/ErlangDbTool.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/syncDBTool/ErlangDbTool.cpp b/syncDBTool/ErlangDbTool.cpp index e736943..bb8efcc 100755 --- a/syncDBTool/ErlangDbTool.cpp +++ b/syncDBTool/ErlangDbTool.cpp @@ -1614,7 +1614,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); -- Gitblit v1.8.0