package com.zy.asrs.entity.param; import lombok.Data; @Data public class CarryParam { //工作号 private String taskNo; //入出库类型 private Integer ioType; //容器编码 private String barcode; //起点 private String startPoint; //目标点 private String targetPoint; //备注 private String meno; public void updateIoTyoe(Integer ioTypeOld){ switch (ioTypeOld){ case 1: this.ioType = 2; break; case 2: this.ioType = 3; break; case 3: this.ioType = 1; break; default: this.ioType = 3; } } }