SchemeInfoService.h 807 B

123456789101112131415161718192021222324
  1. #ifndef SCHEMEINFOSERVICE_H
  2. #define SCHEMEINFOSERVICE_H
  3. #include "ClassSet.h"
  4. class SchemeInfoService
  5. {
  6. public:
  7. SchemeInfoService(QObject *parent = nullptr);
  8. ////////////////////方案持久化-start////////////////////
  9. bool AddSchemeInfoList(const QList<SchemaEval *> &schemaEvalList);
  10. bool DeleteSchemeByEngineerId(int engineerId);
  11. bool QuerySchemeInfoByEngineerId(QList<SchemaEval *> *schemeList, int engineerId, int type);
  12. bool UpdateValueStrById(int id, QString valueStr);
  13. bool addScheme(const SchemaEval &scheme);
  14. bool updateSchemeScore(const int &id, const double &score);
  15. bool deleteScheme(int id);
  16. bool addUniqueGCEData(const SchemaEval &scheme);
  17. bool queryGCEData(SchemaEval &scheme, int projId, QString name);
  18. };
  19. #endif // SCHEMEINFOSERVICE_H