Blame view

src/main/java/com/huaheng/pc/config/container/mapper/ContainerMapper.java 1 KB
1
package com.huaheng.pc.config.container.mapper;
2
3

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
import com.huaheng.pc.config.container.domain.Container;
xqs authored
5
6
7
8
import com.huaheng.pc.config.location.domain.Location;
import org.apache.ibatis.annotations.Param;

import java.util.List;
9
10
11

public interface ContainerMapper extends BaseMapper<Container> {
xqs authored
12
13
14

    List<Location> getEmptyContainerInLocation(@Param("containerCode") String containerCode, @Param("locationCode") String locationCode, @Param("warehouseCode") String warehouseCode);
xqs authored
15
16
    void updateLocationCodeAndStatus(@Param("warehouseCode") String warehouseCode, @Param("containerCode") String containerCode, @Param("locationCode") String locationCode, @Param("status") String status);
17
    Container findAllByCode(@Param("code") String code);
xqs authored
18
19
20
    int addList(@Param("containers") List<Container> containers);
pengcheng authored
21
22
    //获得空货架编号
    List<Container> selectListShelf();
DESKTOP-AO0VKC8\mahua authored
23
24
25
26
27
28

    /**
     * 获取空容器
     * @return
     */
    Container emptyContainer();
29
}