ProjectMindRelationService.h 600 B

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