一、示例1
public AjaxResult saveQuoted(@RequestBody @NotEmpty List< @Valid HisParam> list) {}
二、示例2
public class Comment {
@NotNull(message = "orderId 不能为空")
private Long orderId;
@Valid
@NotEmpty(message = "itemList不能为空")
private List<CommentDetailItem> itemList;
}