2025-06-23 10:41:33 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
#include "DAO.h"
|
|
|
|
|
|
|
|
|
|
namespace DBPlatformSpace
|
|
|
|
|
{
|
2025-06-23 18:01:09 +08:00
|
|
|
|
/// S 型材库_P (本项目内)
|
2025-06-23 10:41:33 +08:00
|
|
|
|
class S_P_ProfileDataDAO : public subDBDAO
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-06-23 18:01:09 +08:00
|
|
|
|
int _code; ///<型材编码
|
|
|
|
|
string _gUID; ///<guid值,用于表示唯一一条数据
|
|
|
|
|
string _imageFilePath; ///<型材示意图路径
|
|
|
|
|
string _necessaryParaNames; ///<必要参数名称列表,逗号分隔
|
|
|
|
|
string _necessaryParaValues; ///<必要参数值列表,逗号分隔
|
|
|
|
|
string _optionalParaNames; ///<非必要参数名称列表,逗号分隔
|
|
|
|
|
string _optionalParaValues; ///<非必要参数值列表,逗号分隔
|
|
|
|
|
string _standardGroupName; ///<型材所属标准组名称
|
|
|
|
|
string _subStandardGroupName; ///<型材所属子标准组名称
|
|
|
|
|
string _techType; ///<型材工艺类型
|
|
|
|
|
string _type; ///<型材类型
|
|
|
|
|
int _useCount; ///<型材引用计数
|
2025-06-23 10:41:33 +08:00
|
|
|
|
|
|
|
|
|
ODI S_P_ProfileDataDAO();
|
|
|
|
|
virtual ODI ~S_P_ProfileDataDAO();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
|
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<S_P_ProfileDataDAO*> & pnewlist);
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindByID(int id, S_P_ProfileDataDAO * &pnewdao);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByStandardGroupName(string standardGroupName, list<S_P_ProfileDataDAO*>&newlist);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindBySubStandardGroupName(string subStandardGroupName, list<S_P_ProfileDataDAO*>&newlist);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByType(string type, list<S_P_ProfileDataDAO*>&newlist);
|
|
|
|
|
};
|
|
|
|
|
}
|