2024-09-12 16:23:44 +08:00
|
|
|
|
#ifndef DATAFETCHER_H
|
|
|
|
|
#define DATAFETCHER_H
|
|
|
|
|
|
2024-10-12 14:00:37 +08:00
|
|
|
|
#pragma execution_character_set("utf-8")
|
|
|
|
|
|
2024-09-12 16:23:44 +08:00
|
|
|
|
#include "globalparameters.h"
|
|
|
|
|
|
|
|
|
|
class DataFetcher
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
DataFetcher();
|
|
|
|
|
virtual ~DataFetcher();
|
|
|
|
|
|
|
|
|
|
public:
|
2024-11-11 15:28:31 +08:00
|
|
|
|
virtual bool Fetch(TableData& tbl_data,int fetch_rows = 1000);
|
2024-09-12 16:23:44 +08:00
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
int VerifyStatus();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // DATAFETCHER_H
|