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;// 是 字符串 托盘码 private String palletizingNo;// 是 字符串 拆垛位编号 private String createTime;// 是 字符串 创建时间 private String uuid;// 是 字符串 时间戳 private List matList;// 是 列表 拆垛货物信息(2箱,尾箱可能1箱) @Data public static class MatList{ private String position;// 是 字符串 木箱码垛位置 private String boxNo;// 是 字符串 木箱编号(唯一字段,出库依据,出库时按照木箱编号出库) } public Integer getDevNo$(){ if (!Cools.isEmpty(this.palletizingNo)){ switch (this.palletizingNo){ case "118": case "119": return 131; case "120": case "121": return 135; default: return null; } } return null; } }