GrpcPrint/PrintS/Config/dao/IOCfgDao.h
2024-03-19 17:45:12 +08:00

20 lines
380 B
C++

#pragma once
#include "BaseDao.h"
#include "../bean/IOCfg.h"
#include "../bean/MachineCfg.h"
#include <sstream>
class IOCfgDao:public BaseDao
{
public:
IOCfgDao(SQLite::Database* pdb);
~IOCfgDao();
void CreateTable();
void Find(IOCfgWrapper* iowrapper);
void Save(map<string, IOCfg*>& iocfgmap);
void Export(map<string, IOCfg*>& iocfgmap, stringstream &sql);
private:
};