自动化立体仓库 - WMS系统
qw
zc
7 天以前 55773cf8183b9ddb45a4321de3468d727cea88fd
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
package com.zy.asrs.service;
 
import com.zy.asrs.entity.BasDevp;
import com.zy.asrs.entity.WaitPakin;
import com.zy.asrs.entity.WrkDetl;
import com.zy.asrs.entity.WrkMast;
import com.zy.asrs.entity.param.EmptyPlateOutParam;
import com.zy.asrs.entity.param.FullStoreParam;
import com.zy.asrs.entity.param.LocDetlAdjustParam;
import com.zy.asrs.entity.param.StockOutParam;
import com.zy.common.model.LocDetlDto;
import com.zy.common.model.StartupDto;
import com.zy.common.model.TaskDto;
import com.zy.common.model.enums.IoWorkType;
 
import java.util.List;
 
public interface WorkService {
 
    /**
     * 全板入库
     * @return 库位号
     */
    String startupFullPutStore(FullStoreParam param, Long userId);
 
    /**
     * 出库作业
     */
    void startupFullTakeStore(StockOutParam param, Long userId);
 
    /**
     * 出库作业
     * @param staNo 目标站点
     * @param locDetls 待出库物料
     * @param ioType 入出库类型
     */
    void stockOut(BasDevp staNo, List<LocDetlDto> locDetls, IoWorkType ioWorkType, Long userId);
 
    void stockOut(BasDevp staNo, TaskDto taskDto, Long userId);
    void stockOutSxk(BasDevp staNo, TaskDto taskDto, Long userId);
    void stockOutLibraryType(BasDevp staNo, TaskDto taskDto, Long userId);
 
    /**
     * 空板入库
     * @return 库位号
     */
    String emptyPlateIn(Integer sourceStaNo, Long userId);
 
    /**
     * 空板出库
     */
    void emptyPlateOut(EmptyPlateOutParam param, Long userId);
 
    /**
     * 自动空板出库
     * @param param
     * @return
     */
    public WrkMast emptyPlateOut(EmptyPlateOutParam param);
 
    /**
     * 盘点出库
     */
    void locCheckOut(StockOutParam param, Long userId);
 
    /**
     * 盘点出库
     */
    void locCheckOutsxk(StockOutParam param, Long userId);
 
    /**
     * 库位移转
     */
    void locMove(String sourceLocNo, String locNo, Long userId);
 
    /**
     * 手动完成工作档
     */
    void completeWrkMast(String workNo, Long userId);
 
    /**
     * 库存明细调整
     */
    void adjustLocDetl(LocDetlAdjustParam param, Long userId);
 
    /**
     * 手动取消工作档
     */
    void cancelWrkMast(String workNo, Long userId);
 
    /**
     * 手动拣料入库工作档
     */
    void pickWrkMast(String workNo, Long userId);
 
    /**
     * 通知档手动生成任务
     */
    StartupDto createWaitPainWrkMastStart(List<WaitPakin> list, Long userId);
 
    /**
     * 通知档手动生成任务
     */
    String dealPreHaveStart(Integer wrkNo, Long userId);
 
    void turnMatLocDetl(EmptyPlateOutParam param, Long userId);
 
    /**
     * 并板出库
     */
    void locMergeOut(StockOutParam param, Long userId);
 
    /**
     * sxk并板出库
     */
    void locMergeOutSxk(StockOutParam param, Long userId);
 
    void toSxk(WrkMast wrkMastold, List<WrkDetl> wrkDetls, Short locType);
 
    void toCrn(WrkMast wrkMastold, List<WrkDetl> wrkDetls, Short locType);
 
}