12345678910111213141516171819 |
- #ifndef PROJECTMINDRELATIONSERVICE_H
- #define PROJECTMINDRELATIONSERVICE_H
- #include "ClassSet.h"
- class ProjectMindRelationService
- {
- public:
- ProjectMindRelationService(QObject *parent = nullptr);
- //新增或更新关联信息
- bool AddOrUpdateRelation(const ProjectMindRelation &relation);
- //根据工程id和类型查询数据
- bool QueryByProjectIdAndType(ProjectMindRelation *relation, int projectId, int type);
- //根据工程id查询数据
- bool QueryByProjectId(QList<ProjectMindRelation *> *relationList, int projectId);
- };
- #endif // PROJECTMINDRELATIONSERVICE_H
|