|
@@ -8,7 +8,7 @@ import java.math.BigDecimal;
|
|
@Data
|
|
@Data
|
|
public class OrderVo {
|
|
public class OrderVo {
|
|
|
|
|
|
- @ExcelProperty("序号")
|
|
|
|
|
|
+ @ExcelProperty("ID")
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
@ExcelProperty("下单时间")
|
|
@ExcelProperty("下单时间")
|
|
@@ -29,10 +29,10 @@ public class OrderVo {
|
|
@ExcelProperty("交易号")
|
|
@ExcelProperty("交易号")
|
|
private String tradeNum; //交易号
|
|
private String tradeNum; //交易号
|
|
|
|
|
|
- @ExcelProperty("订单状态")
|
|
|
|
- private String orderStatus; // 订单状态(未处理unprocessed、已确认processed、已完成completed、已取消invalid、过期expire)
|
|
|
|
|
|
+ // @ExcelProperty("订单状态")
|
|
|
|
+ // private String orderStatus; // 订单状态(未处理unprocessed、已确认processed、已完成completed、已取消invalid、过期expire)
|
|
|
|
|
|
- @ExcelProperty("付款状态")
|
|
|
|
|
|
+ @ExcelProperty("订单状态")
|
|
private String paymentStatus; //付款状态(未付款unpaid、已付款paid、已取消cancel, 部分支付partPayment, 部分退款partRefund, 全额退款refunded)
|
|
private String paymentStatus; //付款状态(未付款unpaid、已付款paid、已取消cancel, 部分支付partPayment, 部分退款partRefund, 全额退款refunded)
|
|
|
|
|
|
@ExcelProperty("收货地区")
|
|
@ExcelProperty("收货地区")
|
|
@@ -58,16 +58,16 @@ public class OrderVo {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- public String getOrderStatus() {
|
|
|
|
- switch (orderStatus){
|
|
|
|
- case "unprocessed" : return "未处理";
|
|
|
|
- case "processed" : return "已确认";
|
|
|
|
- case "completed" : return "已完成";
|
|
|
|
- case "invalid" : return "已取消";
|
|
|
|
- case "expire" : return "过期";
|
|
|
|
- default: return "";
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+// public String getOrderStatus() {
|
|
|
|
+// switch (orderStatus){
|
|
|
|
+// case "unprocessed" : return "未处理";
|
|
|
|
+// case "processed" : return "已确认";
|
|
|
|
+// case "completed" : return "已完成";
|
|
|
|
+// case "invalid" : return "已取消";
|
|
|
|
+// case "expire" : return "过期";
|
|
|
|
+// default: return "";
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
|
|
public String getPaymentStatus() {
|
|
public String getPaymentStatus() {
|
|
switch (paymentStatus){
|
|
switch (paymentStatus){
|