自动化立体仓库 - WMS系统
#
LSH
2023-12-27 11847062f896ad4a596cf18233babe7944727893
src/main/java/com/zy/asrs/controller/OpenController.java
@@ -64,12 +64,16 @@
        if (Cools.isEmpty(param1.getOrderNo())) {
            return R.error("单据编号[orderNo]不能为空");
        }
        if (Cools.isEmpty(param1.getId())) {
            return R.error("单据唯一值[id]不能为空");
        }
        if (Cools.isEmpty(param1.getFormId())) {
            return R.error("单据类型[orderType]不能为空");
        }
        if (Cools.isEmpty(param1.getMatList())) {
            return R.error("单据明细[orderDetails]不能为空");
        }
        List<Map<String, Object>> result = new ArrayList<>();
@@ -79,8 +83,8 @@
                Map<String, Object> map = new HashMap<>();
                map.put("matnr", detlDto2.getMatnr());
                map.put("maktx", detlDto2.getMaktx());
                map.put("owner", detlDto2.getOwner());
                map.put("batch", detlDto2.getBatch());
//                map.put("owner", detlDto2.getOwner());
//                map.put("batch", detlDto2.getBatch());
                result.add(map);
            }
        }
@@ -129,6 +133,9 @@
        if (Cools.isEmpty(param1.getOrderNo())) {
            return R.error("单据编号[orderNo]不能为空");
        }
        if (Cools.isEmpty(param1.getId())) {
            return R.error("单据唯一值[id]不能为空");
        }
        if (Cools.isEmpty(param1.getFormId())) {
            return R.error("单据类型[FormId]不能为空");
        }
@@ -144,8 +151,8 @@
                Map<String, Object> map = new HashMap<>();
                map.put("matnr", detlDto2.getMatnr());
                map.put("maktx", detlDto2.getMaktx());
                map.put("owner", detlDto2.getOwner());
                map.put("batch", detlDto2.getBatch());
//                map.put("owner", detlDto2.getOwner());
//                map.put("batch", detlDto2.getBatch());
                result.add(map);
            }
        }