1234567891011121314151617181920212223242526272829 |
- #ifndef ALGORITHMSERVICE_H
- #define ALGORITHMSERVICE_H
- #include "ClassSet.h"
- class AlgorithmService
- {
- public:
- AlgorithmService(QObject *parent = nullptr);
-
- int AddAlgorithm(const AlgorithmInfo &info);
-
- bool UpdateAlgorithm(const AlgorithmInfo &info);
-
- bool QueryByCode(QString code);
-
- bool QueryByType(QList<AlgorithmInfo *> *infos, int type);
-
- bool QueryAll(QList<AlgorithmInfo *> *infos);
-
- bool DeleteById(int id);
- };
- #endif
|