ZengTao
3 天以前 21a76af55c4da5f1999e9dd24690b2449a7a18a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
}