package com.zy.acs.manager.manager.service; import com.baomidou.mybatisplus.extension.service.IService; import com.zy.acs.manager.core.domain.TaskPosDto; import com.zy.acs.manager.manager.entity.Segment; import com.zy.acs.manager.manager.enums.SegmentStateType; import java.util.List; public interface SegmentService extends IService { void processNext(List segmentList); Segment getNextStepOfInit(Long travelId, Integer serial); Segment getPreviousStepOfFinish(Long travelId, Integer serial); List getJustWaitingSeg(Long agvId); List getSamePos(List segmentList); List getByAgvAndState(Long agvId, String state); List getGroupNo(SegmentStateType state, Long agvId, String groupNo); List getRunningByEndCode(Long codeId); Boolean cancel(Long segmentId, Long userId); Segment getCurrRunningSeg(Long agvId, Long codeId); List selectUsedBackpacks(Long travelId, Long agvId); Segment getRollerWaiting(Long agvId, Long codeId, TaskPosDto.PosType posType); Boolean isRollerWaiting(Long agvId); }