package com.zy.acs.manager.manager.service; import com.baomidou.mybatisplus.extension.service.IService; import com.zy.acs.manager.core.domain.Lane; import com.zy.acs.manager.manager.entity.Task; import com.zy.acs.manager.manager.enums.TaskStsType; import java.util.List; import java.util.Map; public interface TaskService extends IService { String generateSeqNum(); Task pick(TaskStsType taskStsType); Task selectByUuid(String uuid); List selectBySts(TaskStsType taskStsType); List selectInSts(Long agvId, TaskStsType... taskStsTypes); List> selectStatByLastSevenDays(); Boolean complete(Long taskId, Long userId); Boolean cancel(Long taskId, Long userId); Lane checkoutOriginLane(Task task); Lane checkoutDestinationLane(Task task); List findRunningTasksByLaneHash(String laneHash); List findRunningTasksByAgv(Long agvId); Task findLatestTask(Long agvId, TaskStsType taskSts); }