加入了思科算法,连接上了存图

This commit is contained in:
2024-05-24 18:05:29 +08:00
parent 16f0d4f4c8
commit e901966409
42 changed files with 1592 additions and 2592 deletions
@@ -0,0 +1,33 @@
#ifndef SQLSTRUCT_H
#define SQLSTRUCT_H
#include <string>
#include <vector>
enum sqlErr
{
sqlOK,
sqlFalse,
sqlNoSn
};
struct sqlData
{
std::string key;
std::string value;
};
struct sqlColDatas
{
std::string key;
std::vector<std::string> value;
};
using sqlRowDatas = std::vector<sqlData>;
struct sqlTableDatas
{
std::string tableName;
std::vector<sqlRowDatas> rowDatas;
};
struct sqlDataStruct
{
std::string SN;//SN码,不能为空
std::string tableName;//表名,留空则自动获取
std::vector<sqlData>dataVec;
};
#endif