#pragma once #include "Defines.h" #include "iSqlEngine.h" #include "iDataPool_global.h" class I_DATAPOOL_EXPORT iDataIoUtils : public iSqlEngine { public: /// @note pSqlDb为空,则自动从ZxDbSimple中获取 iDataIoUtils(QString sConnStr = "", QSqlDatabase* pSqlDb = NULL); ~iDataIoUtils(); public: /// @brief 批量保存模式,需要统一删除原来的重复数据 /// @param sTable针对表名 /// @param vvecData结果 virtual bool saveDataEx(QString sTable, VVecVariant& vvecData); };