自动化立体仓库 - WMS系统
#
wang..123
2021-11-19 39ae3624fa746930d499effa332599b6425371ba
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
package com.zy.asrs.controller;
 
import com.core.annotations.ManagerAuth;
import com.core.common.R;
import com.zy.asrs.entity.param.StockOutParam;
import com.zy.asrs.service.MatOutService;
import com.zy.asrs.service.WorkService;
import com.zy.common.web.BaseController;
import com.zy.ints.service.WaitMatinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * 出库作业控制器(根据通知档)
 * Created by TQS on 2021/8/24
 */
@RestController
public class MatOutController extends BaseController {
    @Autowired
    private WaitMatinService waitMatinService;
    @Autowired
    private WorkService workService;
    @Autowired
    private MatOutService matOutService;
 
    @RequestMapping("/mat/out/start")
    @ManagerAuth(memo = "出库启动(通知档)")
    public R matOutStart(@RequestBody StockOutParam stockOutParam) {
        matOutService.startupMatOut(stockOutParam, getUserId());
        return R.ok("出库启动成功");
    }
}