From b10d8e00b83032d802adab3222def7e6d280d928 Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期一, 28 一月 2019 20:33:33 +0800 Subject: [PATCH] 添加布控等级。对比暂未添加本字段。 --- QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp b/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp index 38f2ea8..d59bc75 100644 --- a/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp +++ b/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp @@ -69,6 +69,7 @@ std::string faceurl; FaceFeature faceFeature; std::string enable; + std::string monLevel; }; typedef std::map<std::string, FaceFeatureWithUrl> FeatureDBWithUrlCache; @@ -91,7 +92,7 @@ std::string getFacesFromTableSql(std::string tableName) { // #todo get monLevel 鑱斿悎鏌ヨ std::string sql = - "select uuid,feature,create_time,faceUrl,del_flag,enabled from '" + tableName + + "select uuid,feature,create_time,faceUrl,del_flag from '" + tableName + "_fea' where feature is not null "; return sql; } -- Gitblit v1.8.0