自动化立体仓库 - WMS系统
*
whycq
2024-09-30 035eb4ea58c56ae748b10e4121fc907aa9de62ea
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)) {