自动化立体仓库 - WMS系统
#
zhou zhou
5 天以前 e0b041aca4e2ed0e0881e596c6cd1ec3dc63ddba
src/main/java/com/zy/asrs/utils/MatExcelListener.java
@@ -159,6 +159,11 @@
                //模具状态更新为报废 模具与托盘解绑
                List<MatBarcode> list = new ArrayList<>();
                MatBarcode matBarcode = matBarcodeService.selectbyMatnr(excel.getMatnr() + "__" + excel.getName());
                InOut inOut = inOutService.selectByMatnr(excel.getMatnr() + "__" + excel.getName());
                if (inOut != null){
                    inOut.setColor(excel.getColor());
                    inOutService.updateById(inOut);
                }
                if (matBarcode != null){
                    list.add(matBarcode);
                    matBarcodeService.deleteMatBarcode(list);