From e8f8d89a4248cd4d0a7138cc2e5a36ea9b136699 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 11 Feb 2025 17:03:01 +0800
Subject: [PATCH] feat(mall): 添加订单一键发货和取消发货功能
---
src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java b/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java
index 78242f6..cfd077b 100644
--- a/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java
+++ b/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java
@@ -27,6 +27,10 @@
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date orderTime;
+
+ @ApiModelProperty(value = "支付状态 1-支付成功 0-未支付")
+ private String payResult;
+
@ApiModelProperty(value = "支付方式")
private String payMethod;
@@ -38,6 +42,12 @@
@ApiModelProperty(value = "订单金额")
private BigDecimal amount;
+
+ @ApiModelProperty(value = "送货上门经度")
+ private Double longitude;
+
+ @ApiModelProperty(value = "送货上门纬度")
+ private Double latitude;
@ApiModelProperty(value = "收货人姓名")
private String name;
@@ -66,6 +76,9 @@
@ApiModelProperty(value = "运费")
private BigDecimal carriage;
+ @ApiModelProperty(value = "备注")
+ private String remark;
+
public Integer getPayMethodType() {
if (this.payMethod == null) {
return 0;
@@ -84,5 +97,38 @@
@ApiModelProperty(value = "评价状态 1:待评价 2:已评价")
private Integer commentState;
+ //提货码
+ @ApiModelProperty(value = "提货码")
+ private String takeCode;
+ /**
+ * 自提点信息
+ */
+ @ApiModelProperty(value = "团长姓名")
+ private String leaderName;
+ @ApiModelProperty(value = "团长电话")
+ private String leaderPhone;
+ @ApiModelProperty(value = "自提点图片")
+ private String addressPic;
+ @ApiModelProperty(value = "自提点省")
+ private String province;
+ @ApiModelProperty(value = "自提点市")
+ private String city;
+ @ApiModelProperty(value = "自提点区")
+ private String township;
+ @ApiModelProperty(value = "自提点名称")
+ private String addressArea;
+ @ApiModelProperty(value = "自提点详细地址")
+ private String detailAddress;
+ @ApiModelProperty(value = "自提点经度")
+ private Double leaderLongitude;
+ @ApiModelProperty(value = "自提点纬度")
+ private Double leaderLatitude;
+ @ApiModelProperty(value = "配送状态 1:待配送 2:配送中 3:已送达")
+ private Integer deliveryState;
+ @ApiModelProperty(value = "是否送货上门 1:是 2:否")
+ private Integer isHome;
+
+ @ApiModelProperty(value = "是否赠送 1-是 2-否")
+ private Integer isFree;
}
--
Gitblit v1.9.1