Commit 741af122 authored by zhengyi's avatar zhengyi

新增字段定义错误修复

parent 5778c2c1
...@@ -409,8 +409,17 @@ public class OrderDO extends BaseDO { ...@@ -409,8 +409,17 @@ public class OrderDO extends BaseDO {
@ApiModelProperty(value = "收货方式:1 自提 2 送货上门 ") @ApiModelProperty(value = "收货方式:1 自提 2 送货上门 ")
private Integer harvestMethod; private Integer harvestMethod;
@ApiModelProperty(value = "送货地址 ") @ApiModelProperty(value = "收货地址的国家")
private String address; private Long country;
@ApiModelProperty(value = "收货地址的省")
private Long province;
@ApiModelProperty(value = "收货地址的市")
private Long city;
@ApiModelProperty(value = "收货地址")
private String consigneeAddress;
/** /**
* 入仓时间 * 入仓时间
*/ */
......
...@@ -341,12 +341,6 @@ public class OrderBackVO { ...@@ -341,12 +341,6 @@ public class OrderBackVO {
@ExcelProperty("送货时间") @ExcelProperty("送货时间")
private Date deliveryDate; private Date deliveryDate;
@ApiModelProperty(value = "收货方式:1 自提 2 送货上门 ")
private Integer harvestMethod;
@ApiModelProperty(value = "收货地址")
private String consigneeAddress;
@ExcelProperty("入仓时间") @ExcelProperty("入仓时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "入仓时间") @ApiModelProperty(value = "入仓时间")
...@@ -419,6 +413,9 @@ public class OrderBackVO { ...@@ -419,6 +413,9 @@ public class OrderBackVO {
@ApiModelProperty(value = "发货人信息") @ApiModelProperty(value = "发货人信息")
private OrderConsignorBackVO consignorVO; private OrderConsignorBackVO consignorVO;
@ApiModelProperty(value = "收货方式:1 自提 2 送货上门 ")
private Integer harvestMethod;
@ApiModelProperty(value = "收货地址的国家") @ApiModelProperty(value = "收货地址的国家")
private Long country; private Long country;
...@@ -428,6 +425,10 @@ public class OrderBackVO { ...@@ -428,6 +425,10 @@ public class OrderBackVO {
@ApiModelProperty(value = "收货地址的市") @ApiModelProperty(value = "收货地址的市")
private Long city; private Long city;
@ApiModelProperty(value = "收货地址")
private String consigneeAddress;
@ApiModelProperty(value = "收货客户id", required = true) @ApiModelProperty(value = "收货客户id", required = true)
@NotNull(message = "收货客户id不能为空") @NotNull(message = "收货客户id不能为空")
private Long consigneeId; private Long consigneeId;
......
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