自动化立体仓库 - WMS系统
*
lsh
2 天以前 fc6a73660fb4c76a2b0479bb8108768b7ff0d146
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -427,7 +427,7 @@
                            null    // 备注
                    );
                    if (tagMapper.insert(priTag) == 0) {
                        throw new CoolException("服务器内部错误,请联系管理员");
                        throw new CoolException("一级分类创建异常,请联系管理员");
                    }
                }
                // 二级分类
@@ -457,7 +457,7 @@
                            null    // 备注
                    );
                    if (tagMapper.insert(secTag) == 0) {
                        throw new CoolException("服务器内部错误,请联系管理员");
                        throw new CoolException("二级分类创建异常,请联系管理员");
                    }
                }
                tagId = secTag.getId();
@@ -473,7 +473,7 @@
            mat.setCreateTime(now);
            mat.setUpdateTime(now);
            if (!matService.insert(mat)) {
                throw new CoolException("服务器内部错误,请联系管理员");
                throw new CoolException("物料信息新增异常,请联系管理员");
            } else {
                log.info("打包上线添加新物料[商品编号:{}]", mat.getMatnr());
            }
@@ -527,7 +527,7 @@
                                null    // 备注
                        );
                        if (tagMapper.insert(priTag) == 0) {
                            throw new CoolException("服务器内部错误,请联系管理员");
                            throw new CoolException("一级分类创建异常,请联系管理员");
                        }
                    }
                    // 二级分类
@@ -557,7 +557,7 @@
                                null    // 备注
                        );
                        if (tagMapper.insert(secTag) == 0) {
                            throw new CoolException("服务器内部错误,请联系管理员");
                            throw new CoolException("二级分类创建异常,请联系管理员");
                        }
                    }
                    tagId = secTag.getId();
@@ -575,7 +575,7 @@
                mat.setCreateTime(now);
                mat.setUpdateTime(now);
                if (!matService.insert(mat)) {
                    throw new CoolException("服务器内部错误,请联系管理员");
                    throw new CoolException("新增物料信息异常,请联系管理员");
                } else {
                    log.info("同步新物料[商品编号:{}]", mat.getMatnr());
                }