27 lines
860 B
C++
27 lines
860 B
C++
/*
|
||
* @Description: file content
|
||
* @Author: why
|
||
* @version:
|
||
* @Date: 2025-02-25 11:03:17
|
||
* @LastEditors: why
|
||
* @LastEditTime: 2025-02-27 11:13:51
|
||
*/
|
||
#include <string>
|
||
#include <vector>
|
||
#include "bizservice.h"
|
||
class UpdateRecord:public IBizService {
|
||
public:
|
||
void Init(initparam_t *param);
|
||
int HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param = NULL);
|
||
std::string GetFID();
|
||
UpdateRecord();
|
||
~UpdateRecord();
|
||
private:
|
||
handparam_t * handpara;
|
||
initparam_t * initpara;
|
||
std::vector<std::string> topic;//0:dst 1:src 2:sid 3:fid
|
||
void topic_split(const std::string& str, char delimiter);
|
||
int SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<std::string> &result);
|
||
std::string now_to_string();
|
||
time_t string_to_now(std::string stamp);
|
||
}; |