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
39
40
41
42
43
44
45
46
47
48
49
50
| package com.zy.asrs.service;
|
| import com.baomidou.mybatisplus.service.IService;
| import com.zy.asrs.entity.LocMast;
|
| import java.util.List;
|
| public interface LocMastService extends IService<LocMast> {
|
| List<Integer> queryDistinctRow(Integer crnNo);
|
| /**
| * 检索可用库位
| */
| LocMast queryFreeLocMast(Integer row, Short locType1, Short locType2, Short locType3);
|
| /**
| * 获取同组货架的空库位
| * @param sourceLocNo 源库位
| * @return 同组空库位集合
| */
| List<String> queryGroupEmptyStock(String sourceLocNo);
|
| /**
| * 检查当前库位所属巷道的空库位数量
| * @param locMast
| * @return
| */
| Boolean checkEmptyCount(LocMast locMast);
|
| /**
| * 优先找第一列悬挑货架的空库位
| * @param row
| * @param locType1
| * @param locType2
| * @param locType3
| * @return
| */
| LocMast queryFreeLocMastIncludeFirst(Integer row, Short locType1, Short locType2, Short locType3);
|
| /**
| * 实物入库,寻找空库位不能为悬挑的第1列货架
| * @param row
| * @param locType1
| * @param locType2
| * @param locType3
| * @return
| */
| LocMast queryFreeLocMastExceptFirst(Integer row, Short locType1, Short locType2, Short locType3);
| }
|
|