SchemeInfoService.h 652 B

12345678910111213141516171819
  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. };
  16. #endif // SCHEMEINFOSERVICE_H