#
vincentlu
8 小时以前 590a64af2cdd33427ed8eda2eb983b07dd60ab8b
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/SegmentService.java
@@ -1,6 +1,7 @@
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;
@@ -8,9 +9,13 @@
public interface SegmentService extends IService<Segment> {
    void processNext(List<Segment> segmentList);
    Segment getNextStepOfInit(Long travelId, Integer serial);
    Segment getJustWaitingSeg(Long agvId);
    Segment getPreviousStepOfFinish(Long travelId, Integer serial);
    List<Segment> getJustWaitingSeg(Long agvId);
    List<Segment> getSamePos(List<Segment> segmentList);
@@ -18,4 +23,16 @@
    List<String> getGroupNo(SegmentStateType state, Long agvId, String groupNo);
    List<Segment> getRunningByEndCode(Long codeId);
    Boolean cancel(Long segmentId, Long userId);
    Segment getCurrRunningSeg(Long agvId, Long codeId);
    List<Integer> selectUsedBackpacks(Long travelId, Long agvId);
    Segment getRollerWaiting(Long agvId, Long codeId, TaskPosDto.PosType posType);
    Boolean isRollerWaiting(Long agvId);
}