自动化立体仓库 - WMS系统
#
whycq
2024-03-06 846e4079370dbe5c50cf7097a185192b6c0d8421
#
5个文件已修改
55 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/AgvWaitPakin.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/AgvWaitPakinLog.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/param/CombParam.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/model/DetlDto.java 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/AgvWaitPakin.java
@@ -151,6 +151,10 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    @ApiModelProperty(value= "货位类型 1: 待包装成品  2: 原材料  3:箱壳")
    @TableField("loc_type")
    private Integer locType;
    public String getBeBatch$(){
        if (null == this.beBatch){ return null; }
        switch (this.beBatch){
@@ -163,6 +167,20 @@
        }
    }
    public String getLocType$(){
        if (null == this.locType){ return null; }
        switch (this.locType){
            case 1:
                return "待包装成品";
            case 2:
                return "原材料";
            case 3:
                return "箱壳";
            default:
                return String.valueOf(this.locType);
        }
    }
    public String getSource$(){
        if (null == this.source){ return null; }
        switch (this.source){
src/main/java/com/zy/asrs/entity/AgvWaitPakinLog.java
@@ -151,6 +151,10 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    @ApiModelProperty(value= "货位类型 1: 待包装成品  2: 原材料  3:箱壳")
    @TableField("loc_type")
    private Integer locType;
    public String getBeBatch$(){
        if (null == this.beBatch){ return null; }
        switch (this.beBatch){
@@ -163,6 +167,20 @@
        }
    }
    public String getLocType$(){
        if (null == this.locType){ return null; }
        switch (this.locType){
            case 1:
                return "待包装成品";
            case 2:
                return "原材料";
            case 3:
                return "箱壳";
            default:
                return String.valueOf(this.locType);
        }
    }
    public String getSource$(){
        if (null == this.source){ return null; }
        switch (this.source){
src/main/java/com/zy/asrs/entity/param/CombParam.java
@@ -19,6 +19,9 @@
    // 库位编号
    private String locno;
    // 库位类型: 1、待包装成品,2、原材料,3、箱壳
    private Integer locType;
    private List<CombMat> combMats;
    @Data
src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java
@@ -136,7 +136,7 @@
                checkOrderQty(order,combMat);
            }
            DetlDto detlDto = new DetlDto(combMat.getMatnr(), combMat.getBatch(), combMat.getAnfme(), combMat.getCsocode(), combMat.getIsoseq(),combMat.getContainerCode());
            DetlDto detlDto = new DetlDto(combMat.getMatnr(), combMat.getBatch(), combMat.getAnfme(), combMat.getCsocode(), combMat.getIsoseq(),combMat.getContainerCode(),param.getLocType());
            //同一托盘下相同物料信息和批号转为一个入库通知档
            if (DetlDto.has(detlDtos, detlDto)) {
                DetlDto one = DetlDto.find(detlDtos, detlDto.getMatnr(), detlDto.getBatch(), detlDto.getCsocode(), detlDto.getIsoseq(),null);
@@ -191,6 +191,8 @@
        //销售订单行号
        waitPakin.setDeadTime(detlDto.getIsoseq());
        waitPakin.setLocType(detlDto.getLocType());
        waitPakin.setAppeUser(userId);
        waitPakin.setAppeTime(now);
src/main/java/com/zy/common/model/DetlDto.java
@@ -30,6 +30,9 @@
    //销售订单行号
    private String isoseq;
    // 库位类型: 1、代包装成品,2、原材料,3、箱壳
    private Integer locType;
    public DetlDto() {
    }
@@ -57,6 +60,15 @@
        this.isoseq = isoseq;
        this.containerCode = containerCode;
    }
    public DetlDto(String matnr, String batch, Double anfme, String csocode, String isoseq, String containerCode, Integer locType) {
        this.matnr = matnr;
        this.batch = batch;
        this.anfme = anfme;
        this.csocode = csocode;
        this.isoseq = isoseq;
        this.containerCode = containerCode;
        this.locType = locType;
    }
    public DetlDto(String orderNo, String matnr, String batch, Double anfme, String csocode, String isoseq) {
        this.orderNo = orderNo;