#ifndef SCHEMEPROCESSSERVICE_H #define SCHEMEPROCESSSERVICE_H #include class SchemeProcessService { public: SchemeProcessService(QObject *parent = nullptr); //添加项目 int AddSchemeProcess(const SchemePlanManager::SchemeProcessInfo &schemeProcessInfo); //更新项目 bool UpdateSchemeProcess(const SchemePlanManager::SchemeProcessInfo &schemeProcessInfo); //查询所有 bool QueryAllByProjectIdAndIndexType(QList *schemeProcessInfo); //根据id删除 bool DeleteById(int id); }; #endif // SCHEMEPROCESSSERVICE_H