Files
dcapp/datacenter/bizService/F_FormatData.h
T
2025-02-28 17:34:41 +08:00

26 lines
766 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* @Description: file content
* @Author: why
* @version:
* @Date: 2025-02-28 14:24:09
* @LastEditors: why
* @LastEditTime: 2025-02-28 16:14:50
*/
#include <string>
#include <vector>
#include "bizservice.h"
#include "sqlite3/sqlite3.h"
#include "F_Tool.h"
class FormatData:public IBizService,public Tool{
public:
void Init(initparam_t *param);
int HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param = NULL);
std::string GetFID();
FormatData();
~FormatData();
private:
handparam_t * handpara;
initparam_t * initpara;
std::vector<std::string> topic;//0:dst 1:src 2:sid 3:fid
int SQLBatch_exc(sqlite3 *db,std::vector<std::string> &sql_list,std::vector<int> &result);
};