88 lines
2.8 KiB
C
88 lines
2.8 KiB
C
|
|
/*********************************************************************
|
|||
|
|
*
|
|||
|
|
* 文 件: 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
|