Blame view

src/main/java/com/huaheng/pc/config/location/mapper/LocationMapper.java 967 Bytes
1
package com.huaheng.pc.config.location.mapper;
2
3

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
import com.huaheng.pc.config.location.domain.Location;
pengcheng authored
5
import org.apache.ibatis.annotations.Param;
6
7
8
9
import java.util.LinkedHashMap;
import java.util.List;
10
11
import java.util.List;
12
public interface LocationMapper extends BaseMapper<Location> {
pengcheng authored
13
14
15

    void updateStatus(@Param("warehouseCode") String warehouseCode, @Param("code") String code, @Param("status") String status);
16
    Location position(String locatingRule);
mahuandong authored
17
18
19
    int addList(@Param("locations") List<Location> locations);
20
21
    int updateList(@Param("locations") List<Location> locations);
mahuandong authored
22
    Location getAllLocation(@Param("warehouseCode") String warehouseCode, @Param("type") String type);
23
24
25

    //库位利用率
    List<LinkedHashMap<String, Object>> getLocationProp();
26
游杰 authored
27
28
    List<Location> pickLocation();
29
30
31
    List<Location> selectContainerEmpty(@Param("warehouseCode") String warehouseCode );
32
}