ITaskService.java 1023 Bytes
package vion.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
import vion.dto.TaskDTO;
import vion.model.Task;
import vion.vo.TaskVO;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ITaskService extends MPJBaseService<Task> {

    Page<TaskVO> getTaskList(TaskDTO data);

    TaskVO getTaskById(Long taskId);

    Long circTask(TaskDTO data);

    String updById(Long id, TaskDTO data);

    String batchIns(List<TaskDTO> data);

    TaskVO getTaskByUuid(String uuid);

    String forwardTask(Long taskId, String forwardUser);

    String urgeTask(Long taskId, String remark);

    List<Map<String, Object>> peopleAnalysis(Date startDate, Date endDate, Integer source, List<Long> userIds);

    List<Map<String, Object>> proAnalysis(Date startDate, Date endDate, Integer source, List<Long> userIds);

    Map<String, Map<String, List<Task>>> summaryAnalysis(Date startDate, Date endDate, Integer source);
}