自动化立体仓库 - WMS系统
#
lsh
2025-01-12 e67cb04af87e32a19c2b1e0756e6e8c6d0c7d1f8
#
2个文件已修改
13 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/param/PalletizingCompleteTwoFloorParam.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/param/PalletizingCompleteTwoFloorParam.java
@@ -22,13 +22,16 @@
        private String maktx;//    是    物料名称  //不需要
        private String batch;//    是    字符串    木箱编号(唯一字段,出库依据,出库时按照木箱编号出库)
        private String model;//    是    字符串    卷编号(唯一字段)
        private String position;//    是    字符串    木箱码垛位置(拆垛时需要)
        private String position;//    是    字符串    木箱码垛位置(拆垛时需要) {"1":左、"2":右}:字符串,(面朝立库货架,背对桁架)
        private Double weight;//    是    小数型    重量  净重
        private Double roughWeight;//    是    小数型    重量  毛重
        private Double anfme=1.0;//    是    小数型     //默认
        private Double rollExtent;//    是    小数型    卷长度
        private int joint;//    是    整型    接头
        private int joint = 0;//    是    整型    接头
        private int cutting = 2;//    是    整型    是否分切:{1:是、2:否}
        private int qualified = 2;//    是    整型 是否合格:{1:是、2:否}
        private String modelFront = "";//    是    分切前箱号
        private String batchFront = "";//    是    分切前卷号
    }
}
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -725,9 +725,9 @@
            }else if (Cools.isEmpty(matList.getWeight()) || matList.getWeight().equals(0D)){
                throw new CoolException("规格:"+matList.getMatnr()+"、参数:净重 weight为空");
            }else if (Cools.isEmpty(matList.getRoughWeight()) || matList.getRoughWeight().equals(0D)){
                throw new CoolException("规格:"+matList.getMatnr()+"、参数:毛重 roughWeight");
                throw new CoolException("规格:"+matList.getMatnr()+"、参数:毛重 roughWeight为空");
            }else if (Cools.isEmpty(matList.getRollExtent()) || matList.getRollExtent().equals(0D)){
                throw new CoolException("规格:"+matList.getMatnr()+"、参数:卷长度 rollExtent");
                throw new CoolException("规格:"+matList.getMatnr()+"、参数:卷长度 rollExtent为空");
            }
//            else if (Cools.isEmpty(matList.getJoint()) || matList.getJoint()==0){
//                throw new CoolException("规格:"+matList.getMatnr()+"、参数:接头数 joint");