自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-10 97c704f20da653f60d0a2d777fd0e237862e4b9b
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
package com.zy.common.web.wms;
 
import com.core.annotations.ManagerAuth;
import com.core.common.R;
import com.zy.asrs.service.BasDevpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * 工作流接口控制器
 * Created by vincent on 2020/6/10
 */
@RestController
public class WorkController {
 
    @Autowired
    private BasDevpService basDevpService;
 
    @RequestMapping("/available/put/site")
    @ManagerAuth(memo = "获取有效的入库站点")
    public R availablePutSite(){
        return R.ok().add(basDevpService.getAvailableDevp());
    }
 
    @RequestMapping("/put/site/start")
    @ManagerAuth(memo = "开始入库")
    public R start() {
        return R.ok();
    }
 
}