AgvPortService.java 1.22 KB
package com.huaheng.api.acs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.api.acs.domain.AgvPort;
import com.huaheng.framework.web.domain.AjaxResult;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【请填写功能名称】 服务层
 *
 * @author huaheng
 * @date 2022-07-27
 */
@Service
public interface AgvPortService extends IService<AgvPort> {
    List<AgvPort> getListByContainerCode(String containerCode);

    AgvPort getByContainerCode(String containerCode);

    boolean lockById(Long id);

    boolean unlockById(Long id);

    boolean clearContainerCodeById(Long id);


    boolean setContainerCodeById(Long id, String containerCode);

    boolean containerInPort(String containerCode);

    int addAgvPort(String startNum,String endNum,String name,String workStationId,String containerCode,String type,String area);

    public AgvPort getAgvportByCode(String code);
    void  updateStatus(String agvport,String status);
    void  setContainerCode(String agvport,String containerCode);
    AjaxResult<List<AgvPort>> insertAgvport(String portType, Integer quantity);

    boolean clearContainerCodeByCode(String code);

    List<String> getSize2Code(Long id);
}