#ifndef PROJECTALGORITHMRELATIONSERVICE_H #define PROJECTALGORITHMRELATIONSERVICE_H #include "ClassSet.h" class ProjectAlgorithmRelationService { public: ProjectAlgorithmRelationService(QObject *parent = nullptr); //新增或更新关联信息 bool AddOrUpdateRelation(const ProjectAlgorithmRelation &relation); //根据工程id和类型查询数据 bool QueryByProjectIdAndType(ProjectAlgorithmRelation *relation, int projectId, int type); }; #endif // PROJECTALGORITHMRELATIONSERVICE_H