将apms的内部类改为外部类

This commit is contained in:
徐晨晨 2021-12-07 18:24:00 +08:00
parent 5f4b5687f1
commit 964f9888f5
4 changed files with 48 additions and 30 deletions

View File

@ -41,18 +41,3 @@ public class ApmsCreateProcessSheet extends BaseParam {
private String workShopCode; private String workShopCode;
} }
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Apms生产单详细", description = "Apms生产单详细")
class CreateItem extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "标识卡号", required = true)
private String itemCode;
@ApiModelProperty(value = "加工数量", required = true)
private Integer quantity;
@ApiModelProperty(value = "加工重量", required = true)
private Double weight;
}

View File

@ -34,18 +34,3 @@ public class ApmsFinishProcessSheet extends BaseParam {
private String remark; private String remark;
} }
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Apms生产单详细", description = "Apms生产单详细")
class FinishItem extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "标识卡号", required = true)
private String itemCode;
@ApiModelProperty(value = "完成加工数量", required = true)
private Integer finishQuantity;
@ApiModelProperty(value = "完成加工重量", required = true)
private Double finishWeight;
}

View File

@ -0,0 +1,24 @@
package com.mt.wms.empty.params;
import com.mt.wms.core.base.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Apms生产单详细", description = "Apms生产单详细")
public class CreateItem extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "标识卡号", required = true)
private String itemCode;
@ApiModelProperty(value = "加工数量", required = true)
private Integer quantity;
@ApiModelProperty(value = "加工重量", required = true)
private Double weight;
}

View File

@ -0,0 +1,24 @@
package com.mt.wms.empty.params;
import com.mt.wms.core.base.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Apms生产单详细", description = "Apms生产单详细")
public class FinishItem extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "标识卡号", required = true)
private String itemCode;
@ApiModelProperty(value = "完成加工数量", required = true)
private Integer finishQuantity;
@ApiModelProperty(value = "完成加工重量", required = true)
private Double finishWeight;
}