自动化立体仓库 - WMS系统
zhou zhou
5 天以前 f6261adaab448e52a83e3615242dab1ad33023ec
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -465,6 +465,7 @@
                tagId = tagService.getTop().getId();
            }
            mat.setTagId(tagId);
            mat.setLocType(tagId);
            mat.setMatnr(analyse.getMatnr());
            mat.setMaktx(param.getMaterialName());
            mat.setSpecs(param.getConfigureDesc());
@@ -530,8 +531,14 @@
                            throw new CoolException("服务器内部错误,请联系管理员");
                        }
                    }
                    // 二级分类
                    Tag secTag = tagService.selectByName(matParam.getGroupName(), 3);
                    //2026.3.20修改需求X_,T_的都是成品 其他的全是配件
                    String groupName = null;
                    if (matParam.getMatnr().startsWith("T_") || matParam.getMatnr().startsWith("X_")) {
                        groupName = "成品";
                    }else {
                        groupName = "配件";
                    }
                    Tag secTag = tagService.selectByName(groupName, 3);
                    if (secTag == null) {
                        NodeUtils nodeUtils = new NodeUtils();
                        nodeUtils.executePath(priTag.getId());
@@ -571,6 +578,7 @@
//            mat.setModel(param.getModel());
                mat.setTagId(tagId);
                mat.setLocType(tagId);
                mat.setStatus(1);
                mat.setCreateTime(now);
                mat.setUpdateTime(now);