tao.mo

修改接口非空校验,运单ID以及明细ID不需要为必填项

                  mt
2022年8月19日17:21:31
......@@ -30,7 +30,7 @@ public class FedexDetail {
private Long basfId;
@Column(name="CONSIGNMENTDETAILID")
@NotNull(message="参数consignmentDetailId不能为空")
// @NotNull(message="参数consignmentDetailId不能为空")
private Long consignmentDetailId;
@ApiModelProperty(value = "商品编号")
......
......@@ -50,7 +50,7 @@ public class Fedexc implements Serializable {
@ApiModelProperty(value = "运单ID", name = "consignmentId", example = "运单记录的唯一ID")
@Column(name = "CONSIGNMENTID")
@NotNull(message="参数consignmentId不能为空!")
// @NotNull(message="参数consignmentId不能为空!")
// @NotBlank(message="参数consignmentId不能为空!")
private Long consignmentId;
......