LocationMapper.java
1.32 KB
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
33
34
35
36
37
38
package com.huaheng.pc.config.location.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.config.location.domain.Location;
import com.huaheng.pc.config.points.domain.Points;
import org.apache.ibatis.annotations.Param;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.List;
public interface LocationMapper extends BaseMapper<Location> {
void updateStatus(@Param("warehouseCode") String warehouseCode, @Param("code") String code, @Param("status") String status);
Location position(String locatingRule);
int addList(@Param("locations") List<Location> locations);
int updateList(@Param("locations") List<Location> locations);
Location getAllLocation(@Param("warehouseCode") String warehouseCode, @Param("type") String type);
//库位利用率
List<LinkedHashMap<String, Object>> getLocationProp();
List<Location> pickLocation();
List<Location> selectContainerEmpty(@Param("warehouseCode") String warehouseCode );
int getFirstRowOfZone(@Param("warehouseCode") String warehouseCode, @Param("locationType") String locationType);
int getLastRowOfZone(@Param("warehouseCode") String warehouseCode, @Param("locationType") String locationType);
Location selectAddress(Location location);
List<Location> selectEmptyAddress(Points points);
}