package com.mes.edgstoragecage.service;
|
|
import com.github.yulichang.base.MPJBaseService;
|
import com.mes.edgstoragecage.entity.EdgStorageCage;
|
import com.mes.edgstoragecage.entity.EdgStorageCageDetails;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author zhoush
|
* @since 2024-04-07
|
*/
|
public interface EdgStorageCageService extends MPJBaseService<EdgStorageCage> {
|
|
/**
|
* 查询笼内离指定格子最近空格
|
* flag :是否为直通
|
*
|
* @return
|
*/
|
EdgStorageCage selectNearestEmpty(int currentSlot, boolean flag);
|
|
/**
|
* 查询笼内空格
|
* @return
|
*/
|
List<EdgStorageCage> selectCacheEmpty();
|
|
/**
|
* 查询笼内出片顺序详情
|
* @return
|
*/
|
List<Map<String, Object>> selectCacheOut();
|
|
/**
|
* 查询笼内详情
|
* @return
|
*/
|
List<Map<String, Object>> selectEdgStorageCages();
|
|
/**
|
* 修改理片笼信息
|
* @param edgStorageCage
|
* @return
|
*/
|
boolean updateEdgStorageCage(EdgStorageCage edgStorageCage);
|
|
boolean updateEdgStorageCageDetails(int edgStorageCageId, EdgStorageCageDetails edgStorageCageDetails);
|
|
}
|