自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-11 71b572107eeab9608811992de3d74ec367f6b996
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
package com.zy.asrs.controller;
 
import com.alibaba.fastjson.JSON;
import com.core.annotations.ManagerAuth;
import com.core.common.R;
import com.zy.asrs.entity.param.FullStoreParam;
import com.zy.asrs.service.BasDevpService;
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 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("/full/store/start")
    @ManagerAuth(memo = "全板入库")
    public R start(@RequestBody FullStoreParam fullStoreParam) {
 
        System.out.println(JSON.toJSONString(fullStoreParam));
 
        return R.ok();
    }
 
}