From 946823215bac2c859df843f7b01636f5fda34ed4 Mon Sep 17 00:00:00 2001
From: cheliequan <liequanche@126.com>
Date: 星期五, 13 一月 2023 20:32:23 +0800
Subject: [PATCH] 重构util接口,支持按照key查找json,并转换vector list

---
 dbapi.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dbapi.h b/dbapi.h
index 291f1bc..ff58ef4 100644
--- a/dbapi.h
+++ b/dbapi.h
@@ -13,6 +13,8 @@
 bool dbapi_get_poll_config(void *handle, protomsg::PollConfig &message);
 bool dbapi_get_stack_config(void *handle, protomsg::FileAnalysisSetting &message);
 bool dbapi_get_time_rules(void *handle, std::vector<protomsg::CameraTimerule> &list);
+bool dbapi_get_dayctls(char *timeRules, std::vector<protomsg::DayCtl> & list);
+bool dbapi_get_timeranges(char *datactls, std::vector<protomsg::TimeRange> & list);
 bool dbapi_get_camera_rules(void *handle, std::vector<protomsg::CameraAndRules> &list);
 
 bool dbapi_get_cameras_by_runtype(void *handle, std::vector<protomsg::Camera> &list);

--
Gitblit v1.8.0