From 9a0afe1ccce6fd3a6882b4c19b72cee579a54dd1 Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期五, 08 三月 2019 12:57:51 +0800
Subject: [PATCH] find channel list bug
---
QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
index a3eaa3e..eb53d1c 100644
--- a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
+++ b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
@@ -50,8 +50,10 @@
bool deleteCamDevandSdkByCamID(QString strCamId);
bool updateCamDevTable(Record_Cam_Dev camRec);
std::list<Record_Cam_Dev> searchCamDevTableAll(void);
+ std::list<Record_Cam_Dev> searchCamDevTableByType(int type);
int searchCamDevNumber(void);
bool searchCamDevByCamId(QString strCamId);
+ bool updateCamDevSnapshot(const QString& strIp ,const QString& imgUrl);
//load_file_info
bool insertLoadFileTable(Record_Load_File_info loadfileRec);
@@ -134,6 +136,17 @@
QSqlTableModel *m_pModel;
QMutex m_mutexVisit;
+public:
+ QSqlDatabase* get_m_db() {
+ return &m_db;
+ }
+ QSqlTableModel* get_m_pModel() {
+ return m_pModel;
+ }
+ QMutex* get_m_mutexVisit() {
+ return &m_mutexVisit;
+ }
+
};
#endif // LDBTOOL_H
--
Gitblit v1.8.0