eis/inc/dao/InsertMaterial.h

88 lines
2.8 KiB
C
Raw Normal View History

/*********************************************************************
*
* : InsertMaterial.h MU相关数据接口
*
* : Shanghai Baosight Software Co., Ltd.
*
* :
* :
* :
*
*
* 1.0 2010-09-02 echo_li
*
*********************************************************************/
#ifndef INSERTMATERIAL_H_
#define INSERTMATERIAL_H_
#include <iDA/iDA.h>
#include <log4cplus/LOG.h>
#include <glob/GlobDefine.h>
using namespace iPlature;
namespace baosight{
/*********************************************************************
* : //TODO请补充类名称
* : Shanghai Baosight Software Co., Ltd.
* :
* :
* :
*
* 1.0 2010-09-02 echo_li
*
*********************************************************************/
class InsertMaterial{
private:
static iDA::Command cmd;
public:
/**********************************************************************
* : T_MUR数据
* InsertMUR
* short
* :
* muId: long
* musId: int
* compMuId: long
* compPos: int
* muCreator: char *
*
*
* 1.0 2010-09-02 echo_li
*
**********************************************************************/
static short InsertMUR(long muId, int musId, long compMuId, int compPos, char *muCreator);
/**********************************************************************
* : T_MU数据
* InsertMU
* short
* :
* muId: long
* muTyp: char *
* pExtId: char *
* basId: int
* muCreator: char *
* in: int
* out: int
*
*
* 1.0 2010-09-02 echo_li
*
**********************************************************************/
static short InsertMU(long muId, char *muTyp, char *pExtId, int basId, char * muCreator, int in , int out );
/**********************************************************************
* : SQL语句
* Execute
* short
* :
* Sql: const char *
*
*
* 1.0 2010-09-02 echo_li
*
**********************************************************************/
static short Execute(const char* Sql);
};
};
#endif