1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
-
- class DBServiceSet
- {
- public:
- explicit DBServiceSet(QObject *parent = nullptr);
- //////////////////////common-start////////////////////
- int getNextId(QString tableName);
- //////////////////////common-start////////////////////
- //////////////////////节点权重值持久化-start////////////////////
- //////////////////////common-start////////////////////
- ////////////////////方案持久化-start////////////////////
- bool AddSchemeInfoList(const QList<SchemaEval *> &schemaEvalList);
- bool DeleteSchemeByEngineerId(int engineerId);
- bool QuerySchemeInfoByEngineerId(QList<SchemaEval *> *schemeList, int engineerId);
- //////////////////////common-start////////////////////
- //////////////////////技术重要度持久化-start////////////////////
- //添加信息
- bool AddTechnicalImportInfo(const TechnicalImport &technicalImport);
- bool AddTechnicalImportInfoList(const QList<TechnicalImport *> &technicalImportList);
- /*批量修改节点值*/
- bool UpdateTechnicalImportInfoList(const QList<TechnicalImport *> technicalImportList);
- bool QueryTechnicalImportInfoByEngineerId(QList<TechnicalImport *> *technicalImportList, int expertId,
- int engineerId);
- bool QueryTechnicalImportInfoByEngineerId(int expertId, int engineerId);
- //////////////////////common-start////////////////////
- //////////////////////节点矩阵信息表-start////////////////////
- //////////////////////节点矩阵信息表-end/////////////////////
- //////////////////////评估方案表-start////////////////////
- //添加信息
- bool AddPlanInfo(const PlanInfo &planInfo);
-
- bool UpdatePlanInfo(const PlanInfo &planInfo);
-
- bool QueryPlanInfoById(PlanInfo *planInfo, int planId);
-
- bool QueryPlanListByColumnAndColumnValue(QList<PlanInfo *> *planInfoList, QString columnName, QString columnValue);
- bool QueryPlanList(QList<PlanInfo *> *planInfoList);
-
- bool DeletePlanById(int planId);
- //////////////////////评估方案表-end////////////////////
- //////////////////////评估方案指标体系关系表-start////////////////////
- //添加信息
- // bool AddIndexSetPlanInfo(const IndexSetPlanInfo &planInfo);
- bool AddIndexSetPlanInfoList(const QList<IndexSetPlanInfo *> planInfoList);
-
- bool UpdateIndexSetPlanInfo(const IndexSetPlanInfo &planInfo);
- bool UpdateIndexSetPlanInfoList(const QList<IndexSetPlanInfo *> planInfoList);
-
- bool QueryIndexSetPlanInfo(IndexSetPlanInfo *planInfo, int Id);
-
- bool QueryIndexSetPlanListByColumnAndColumnValue(QList<IndexSetPlanInfo *> *planInfoList, QString columnName,
- QString columnValue);
-
- bool DeleteIndexSetPlanById(int Id);
- bool DeleteIndexSetPlanByPlanId(int planId);
- bool DeleteIndexSetPlanByIndexSetId(int indexSetId);
- //////////////////////评估方案指标体系关系表-end////////////////////
- };
|