From 745320cbb4edfa4fbc8f0f95483a4ee7893d5769 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 22 四月 2021 20:18:08 +0800
Subject: [PATCH] 3.9.2完善

---
 src/main/java/com/yeshi/buwan/vo/order/OrderInfoVO.java |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/vo/order/OrderInfoVO.java b/src/main/java/com/yeshi/buwan/vo/order/OrderInfoVO.java
index 8c4934d..25368ed 100644
--- a/src/main/java/com/yeshi/buwan/vo/order/OrderInfoVO.java
+++ b/src/main/java/com/yeshi/buwan/vo/order/OrderInfoVO.java
@@ -13,6 +13,34 @@
     private String endTime;
     private String payWay;
     private int state;
+    private String type;
+    private String cid;
+    private String vid;
+
+
+    public String getCid() {
+        return cid;
+    }
+
+    public void setCid(String cid) {
+        this.cid = cid;
+    }
+
+    public String getVid() {
+        return vid;
+    }
+
+    public void setVid(String vid) {
+        this.vid = vid;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
 
     public String getTitle() {
         return title;
@@ -85,6 +113,7 @@
         if (record.getVipEndTime() != null)
             vo.setEndTime(TimeUtil.getGernalTime(record.getVipEndTime().getTime(), "yyyy.MM.dd HH:mm"));
         vo.setOrderNo(record.getId());
+        vo.setType(record.getOrderType().name());
         String payWay = "";
         switch (record.getPayWay()) {
             case OrderRecord.PAY_WAY_ALIPAY:
@@ -107,6 +136,9 @@
             vo.setPayWay(payWay);
         }
         vo.setState(record.getState());
+
+        vo.setCid(record.getVideoCid());
+        vo.setVid(record.getVideoVid());
         return vo;
     }
 }

--
Gitblit v1.8.0