diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsCreateProcessSheet.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsCreateProcessSheet.java index d7d82f3..77e467c 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsCreateProcessSheet.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsCreateProcessSheet.java @@ -41,18 +41,3 @@ public class ApmsCreateProcessSheet extends BaseParam { 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; -} diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsFinishProcessSheet.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsFinishProcessSheet.java index 131bb3d..a549569 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsFinishProcessSheet.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/ApmsFinishProcessSheet.java @@ -34,18 +34,3 @@ public class ApmsFinishProcessSheet extends BaseParam { 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; -} diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/CreateItem.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/CreateItem.java new file mode 100644 index 0000000..4c789d4 --- /dev/null +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/CreateItem.java @@ -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; +} diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/FinishItem.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/FinishItem.java new file mode 100644 index 0000000..1b6821f --- /dev/null +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/params/FinishItem.java @@ -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; +}