You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# pragma once
# include "iDataIoUtils.h"
# include "mProjectManager_global.h"
class M_PROJECTMANAGER_EXPORT iDataIoUtilsEx : public iDataIoUtils
{
public :
/// @note pSqlDb为空, 则自动从ZxDbSimple中获取
iDataIoUtilsEx ( QString sConnStr = " " , QSqlDatabase * pSqlDb = NULL ) ;
~ iDataIoUtilsEx ( ) ;
public :
// 获取所有井名/井号
bool getAllWells ( QStringList & listNames , \
QStringList & listCodes , \
QString sBlock = " " ) ;
// 获取所有井号
//QStringList getAllWellCodes(QString sBlock = "");
// 获取所有作业名,按照时间降序排列
QStringList getAllJobNames ( QString sWellCode = " " ) ;
// 获取某表所有的数据
bool getWellDatas ( VVecVariant & vvec , QString sTable , QString sWellCode = " " ) ;
public :
/// @brief 批量保存模式,需要统一删除原来的重复数据
/// @param sTable针对表名
/// @param vvecData结果
virtual bool saveDataEx ( QString sTable , VVecVariant & vvecData ) ;
} ;