Commit 0352531e authored by zhengyi's avatar zhengyi

校验到仓修改必填参数

parent 040f69d4
......@@ -6,6 +6,7 @@ import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;
......@@ -68,5 +69,6 @@ public class OrderWarehouseCheckUpdateReqVO {
private String material;
@ApiModelProperty(value = "到仓修改详情", required = true)
@NotEmpty(message = "品名到仓修改记录详情不能未空")
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