自动化立体仓库 - WMS系统
LSH
2023-09-17 11972d7f05a60a2e117665ef4900f5f3ad43607d
src/main/java/com/zy/asrs/entity/param/SingleUnstackingCompleteParam.java
@@ -1,9 +1,12 @@
package com.zy.asrs.entity.param;
import com.core.common.Cools;
import lombok.Data;
import java.util.List;
/*
 *  Created by Monkey D. Luffy on 2023.07.19
 * */
@Data
public class SingleUnstackingCompleteParam {
    private String barcode;//   是   字符串   托盘码
@@ -18,4 +21,32 @@
        private String boxNo;//      是   字符串   木箱编号(唯一字段,出库依据,出库时按照木箱编号出库)
    }
    public Integer getSourceDevNo$(){
        if (!Cools.isEmpty(this.palletizingNo)){
            switch (this.palletizingNo){
                case "1":
                    return 119;
                case "2":
                    return 121;
                default:
                    return null;
            }
        }
        return null;
    }
    public Integer getDevNo$(){
        if (!Cools.isEmpty(this.palletizingNo)){
            switch (this.palletizingNo){
                case "1":
                    return 132;
                case "2":
                    return 134;
                default:
                    return null;
            }
        }
        return null;
    }
}