自动化立体仓库 - WMS系统
zhangc
2025-01-07 19b6160823c407902c9f93bc6b9c75a851b0036d
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -105,7 +105,8 @@
                now,    // 添加时间
                9527L,    // 修改人员
                now,    // 修改时间
                null    // 备注
                null,    // 备注
                null
        );
        if (!orderService.insert(order)) {
            throw new CoolException("生成单据主档失败,请联系管理员");
@@ -252,7 +253,8 @@
                now,    // 添加时间
                9527L,    // 修改人员
                now,    // 修改时间
                null    // 备注
                null,    // 备注
                null
        );
        if (!orderService.insert(order)) {
            throw new CoolException("生成单据主档失败,请联系管理员");
@@ -271,6 +273,9 @@
            }
        }
        for (DetlDto detlDto : list) {
            if (detlDto.getMatnr().substring(0,1).equals("B")) {
               detlDto.setMatnr(detlDto.getMatnr().substring(1));
            };
            Mat mat = matService.selectByMatnr(detlDto.getMatnr());
            OrderDetl orderDetl = new OrderDetl();
            if (Cools.isEmpty(mat)) {