#ifndef TASKSERVICE_H
#define TASKSERVICE_H

#include "dao/TaskDao.h"
#include "dao/CheckDao.h"
#include "dao/SystemDao.h"

class TaskService
{
public:
    TaskService();

    QList<TaskDTO> getDeptTaskListPage(TaskRequest request, Page& page);
    QList<TaskDTO> getUserTaskToBeDoneListPage(TaskRequest request, Page& page);

    QStringList getVerificationItemCatsBySelectedTask(QStringList taskIds);

private:
    void wrapperTaskDTO(TaskDTO & task);
};

#endif // TASKSERVICE_H
