ProjectAlgorithmRelationService.h 516 B

1234567891011121314151617
  1. #ifndef PROJECTALGORITHMRELATIONSERVICE_H
  2. #define PROJECTALGORITHMRELATIONSERVICE_H
  3. #include "ClassSet.h"
  4. class ProjectAlgorithmRelationService
  5. {
  6. public:
  7. ProjectAlgorithmRelationService(QObject *parent = nullptr);
  8. //新增或更新关联信息
  9. bool AddOrUpdateRelation(const ProjectAlgorithmRelation &relation);
  10. //根据工程id和类型查询数据
  11. bool QueryByProjectIdAndType(ProjectAlgorithmRelation *relation, int projectId, int type);
  12. };
  13. #endif // PROJECTALGORITHMRELATIONSERVICE_H