自动化立体仓库 - WMS系统
zyx
2023-07-06 988b84379a5f257fb09fbd80522e4b478c03c4cb
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
package com.zy.asrs.controller;
 
import com.core.common.R;
import com.zy.asrs.entity.param.CombParam;
import com.zy.asrs.service.AgvMobileService;
import com.zy.common.web.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
import java.util.Map;
 
/**
 * 移动端接口控制器
 * Created by vincent on 2020/6/10
 */
@RestController
@RequestMapping("agvMobile")
public class AgvMobileController extends BaseController  {
 
    @Autowired
    private AgvMobileService agvMobileService;
 
    @PostMapping("/comb/auth")
    public R comb(@RequestBody CombParam combParam){
        agvMobileService.comb(combParam, 1l);
        return R.ok("组托成功");
    }
 
    @PostMapping("/combBinging/auth")
    public R combBinding(@RequestBody Map<String,Object> map){
        String barcode = map.get("barcode").toString();
        String stationCode = map.get("stationCode").toString();
        agvMobileService.combBinding(barcode,stationCode);
        return R.ok("托盘绑定站点成功");
    }
 
 
 
 
 
 
}