自动化立体仓库 - WMS系统
#
zyx
2024-04-07 1c825c189941506df4516c3b587430182a45d061
src/main/java/com/zy/asrs/controller/AgvMobileController.java
@@ -54,7 +54,7 @@
    public R combBinding(@RequestBody Map<String,Object> map){
        String barcode = map.get("barcode").toString();
        String stationCode = map.get("stationCode").toString();
        Short containerType = Short.valueOf(map.get("containerType").toString());
        Short containerType = Short.valueOf(barcode.substring(0,2));
        agvMobileService.combBinding(barcode,stationCode,containerType);
        return R.ok("托盘绑定站点成功");
    }
@@ -105,7 +105,7 @@
        for (AgvMobileStartParam.Pda pda : params.getPad()) {
            pda.setContainerType(Short.valueOf(pda.getContainerCode().substring(0,2)));
            workService.emptyPlateIn(pda.getDevNo(),pda.getContainerCode(),pda.getContainerType(), getUserId());
            workService.emptyPlateIn(pda.getDevNo(),pda.getContainerCode(),pda.getContainerType(), getUserId(),false);
        }
        return R.ok();
@@ -131,10 +131,12 @@
    @PostMapping("/pakout/empty/container/selector/auth")
    public R containerType(@RequestBody HashMap<String,String> params){
        Short locType = Short.valueOf(params.get("locType"));
        String devNo = params.get("devNo");
        AgvBasDevp agvBasDevp = agvBasDevpService.selectById(devNo);
        return R.ok(agvLocMastService.queryContainerTypeByLocType1(locType));
        return R.ok(agvLocMastService.queryContainerTypeByLocType1(agvBasDevp.getLocType1()));
    }
}