1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef DEMANDWEIGHTSERVICE_H
- #define DEMANDWEIGHTSERVICE_H
- #include "ClassSet.h"
- class DemandWeightService
- {
- public:
- DemandWeightService(QObject *parent = nullptr);
- /*单个节点信息新增*/
- //添加信息
- bool AddNodeWeightInfo(const DemandWeight &demandWeight);
- /*批量节点信息新增*/
- bool AddNodeWeightInfoList(const QList<DemandWeight *> &demandWeightList);
- /*修改节点值*/
- bool UpdateNodeValue(const DemandWeight &demandWeight);
- /*批量修改节点值*/
- bool UpdateNodeValueList(const QList<DemandWeight *> demandWeightList);
- bool QueryByTableIndexAndTableMsg(int expertId, int engineerId, int tableIndex, QString tableMsg);
- bool QueryByTableIndexAndTableMsg(QString expertId, int engineerId, int tableIndex, QString tableMsg);
- bool QueryByTableIndexAndTableMsgAndPage(QString expertId, int engineerId, int tableIndex, QString tableMsg,
- int page);
- bool QueryByTableIndexAndTableMsg(QList<DemandWeight *> *demandWeightList, int expertId, int engineerId,
- int tableIndex, QString tableMsg);
- bool QueryByTableIndexAndTableMsg(QList<DemandWeight *> *demandWeightList, QString expertId, int engineerId,
- int tableIndex, QString tableMsg);
- bool QueryByPageIndexAndTableMsg(QList<DemandWeight *> *demandWeightList, QString expertId, int engineerId,
- int pageIndex, QString tableMsg);
- bool updateValidByExperIdAndEngineerId(int expertId, int engineerId);
- bool QuerySecondDemandWeightByEngineerId(QList<DemandWeight *> *demandWeightList, int expertId, int engineerId,
- QString tableMsg);
- bool QuerySecondDemandWeightByEngineerIdAndMaxPage(QList<DemandWeight *> *demandWeightList, int expertId,
- int engineerId, QString tableMsg);
- bool QuerySecondDemandWeightByEngineerId(QList<DemandWeight *> *demandWeightList, QString expertIds, int engineerId,
- QString tableMsg);
- bool QueryFirstDemandWeightByEngineerId(QList<DemandWeight *> *demandWeightList, int expertId, int engineerId,
- QString tableMsg);
- bool QueryLastDemandWeightByEngineerId(QList<DemandWeight *> *demandWeightList, int expertId, int engineerId,
- QString tableMsg, int tableIndex);
- bool QueryFirstDemandWeightByEngineerId(QList<DemandWeight *> *demandWeightList, QString expertIds, int engineerId,
- QString tableMsg);
- bool QueryLastPageDemandWeightByEngineerId(QList<DemandWeight *> *demandWeightList, QString expertIds,
- int engineerId, QString tableMsg, int page);
- };
- #endif // DEMANDWEIGHTSERVICE_H
|