自动化立体仓库 - WMS系统
zyx
2024-02-23 d16c9ca6307adde5d4b9734c540e276477940686
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -430,7 +430,7 @@
        for (Object o : jsonArray){
            JSONObject jsonObject = (JSONObject)o;
            String batch = jsonObject.get("batch").toString();
            Integer packageNo = (Integer) jsonObject.get("packageNo");
            Integer packageNo = Integer.parseInt(json.get("packageNo").toString());
            if(Cools.isEmpty(locNo) || Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){
                return R.error("有参数为空,无法入库");
            }
@@ -449,7 +449,7 @@
    public R plaPackOut1(@RequestBody JSONObject json){
        String locNo = json.get("locNo").toString();
        String batch = json.get("batch").toString();
        Integer packageNo = (Integer) json.get("packageNo");
        Integer packageNo = Integer.parseInt(json.get("packageNo").toString());
        String orderNo = json.get("orderNo").toString();
        String orderDetlId = json.get("orderDetlId").toString();
        String wrkNo = json.get("wrkNo").toString();
@@ -468,7 +468,7 @@
    public R plaPackOut(@RequestBody JSONObject json){
        String locNo = json.get("locNo").toString();
        String batch = json.get("batch").toString();
        Integer packageNo = (Integer) json.get("packageNo");
        Integer packageNo = Integer.parseInt(json.get("packageNo").toString());
        String orderNo = json.get("orderNo").toString();
        String orderDetlId = json.get("orderDetlId").toString();
        String wrkNo = json.get("wrkNo").toString();
@@ -486,8 +486,7 @@
    @RequestMapping("/plaDetl/check/v1")
    public R plaDetlCheck(@RequestBody JSONObject json){
        String batch = json.get("batch").toString();
        Integer packageNo = (Integer) json.get("packageNo");
        Integer packageNo = Integer.parseInt(json.get("packageNo").toString());
        if(Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){
            return R.error("有参数为空,无法入库");
        }
@@ -509,7 +508,7 @@
    public R plaDetlMove(@RequestBody JSONObject json){
        String batch = json.get("batch").toString();
        Integer packageNo = (Integer) json.get("packageNo");
        Integer packageNo = Integer.parseInt(json.get("packageNo").toString());
        String locNo = json.get("locNo").toString();
        if(Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){
@@ -553,8 +552,12 @@
    @RequestMapping("/manpakout/pakout/v1")
    public R pakout(@RequestBody JSONObject json){
        String batch = json.get("batch").toString();
        Integer packageNo = Integer.parseInt(json.get("packageNo").toString());
        String orderNo = json.get("orderNo").toString();
        return R.ok();
    }