Commit 0352531e authored by zhengyi's avatar zhengyi

校验到仓修改必填参数

parent 040f69d4
...@@ -6,6 +6,7 @@ import lombok.Data; ...@@ -6,6 +6,7 @@ import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.ToString; import lombok.ToString;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.List; import java.util.List;
...@@ -68,5 +69,6 @@ public class OrderWarehouseCheckUpdateReqVO { ...@@ -68,5 +69,6 @@ public class OrderWarehouseCheckUpdateReqVO {
private String material; private String material;
@ApiModelProperty(value = "到仓修改详情", required = true) @ApiModelProperty(value = "到仓修改详情", required = true)
@NotEmpty(message = "品名到仓修改记录详情不能未空")
private List<OrderWarehouseCheckUpdateItemVO> updates; private List<OrderWarehouseCheckUpdateItemVO> updates;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment