wangfei
19 小时以前 2b91b242113bd10f1be241d19ab154e9ad6506cd
hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/edgstoragecage/mapper/EdgStorageCageMapper.java
@@ -1,7 +1,11 @@
package com.mes.edgstoragecage.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
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>
@@ -11,6 +15,18 @@
 * @author zhoush
 * @since 2024-04-07
 */
public interface EdgStorageCageMapper extends BaseMapper<EdgStorageCage> {
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);
}