#
Junjie
2024-08-30 17b66b7fba1c980638b6db24a12959cd3ddbdcad
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
package com.zy.asrs.wms.asrs.controller;
 
import com.zy.asrs.framework.common.R;
import com.zy.asrs.wms.asrs.entity.param.OutParam;
import com.zy.asrs.wms.asrs.manage.OutManage;
import com.zy.asrs.wms.system.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
 
@RestController
@RequestMapping("/api")
public class OutController extends BaseController {
 
    @Autowired
    private OutManage outManage;
 
    /**
     * 出库
     */
    @PostMapping("/out/start")
    public R start(@RequestBody OutParam param) {
        outManage.out(param);
        return R.ok();
    }
}