package com.mes.edgstoragecage.mapper;
|
|
import com.github.yulichang.base.MPJBaseMapper;
|
import com.mes.edgstoragecage.entity.EdgStorageCage;
|
import com.mes.edgstoragecage.entity.vo.EdgSlotRemainVO;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* Mapper 接口
|
* </p>
|
*
|
* @author zhoush
|
* @since 2024-04-07
|
*/
|
public interface EdgStorageCageMapper extends MPJBaseMapper<EdgStorageCage> {
|
|
/**
|
* 相同尺寸可以放下的格子
|
*
|
* @param deviceId
|
* @param width
|
* @param height
|
* @param slot
|
* @return
|
*/
|
EdgStorageCage getEdgStorageCageBySize(@Param("deviceId") int deviceId, @Param("width") double width, @Param("height") double height, @Param("slot") int slot);
|
|
void resetSlotRemainWidth(@Param("list") List<EdgSlotRemainVO> list);
|
}
|