自动化立体仓库 - WMS系统
#
Junjie
5 天以前 445facd938541f2d5362fdb591020c41d8b485c7
#
1个文件已修改
18 ■■■■■ 已修改文件
src/main/java/com/zy/common/service/CommonService.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/service/CommonService.java
@@ -169,15 +169,17 @@
                }
            }
            //检测是否为呆滞料
            String matnr = findLocNoAttributeVo.getMatnr();
            Mat mat = matService.selectByMatnr(matnr);
            if (mat == null) {
                throw new CoolException(matnr + "物料信息不存在");
            }
            if (staDescId != 10) {
                //检测是否为呆滞料
                String matnr = findLocNoAttributeVo.getMatnr();
                Mat mat = matService.selectByMatnr(matnr);
                if (mat == null) {
                    throw new CoolException(matnr + "物料信息不存在");
                }
            if (mat.getTscp() != null && mat.getTscp() == 1) {
                crnList.add(0, 1);
                if (mat.getTscp() != null && mat.getTscp() == 1) {
                    crnList.add(0, 1);
                }
            }
        }else if (barcode.startsWith("16")) {
            crnList.add(6);