|
@@ -2,10 +2,12 @@ package com.fdkankan.manage.vo.response;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.fdkankan.manage.util.Dateutils;
|
|
|
import jdk.nashorn.internal.ir.annotations.Ignore;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
@Data
|
|
|
public class IncrementOrderVo {
|
|
@@ -42,9 +44,61 @@ public class IncrementOrderVo {
|
|
|
@ExcelProperty("付款状态")
|
|
|
private String payStatus; //付款状态(状态,0或-1表示未付款,-2表示已退款,1表示已付款
|
|
|
|
|
|
+ @ExcelIgnore
|
|
|
private Integer timeZoneOff;
|
|
|
|
|
|
+ @ExcelProperty("权益类型")
|
|
|
+ private String memberLevels;
|
|
|
+
|
|
|
+ @ExcelProperty("客户名称")
|
|
|
+ private String customerName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 客户类别0直销,1经销
|
|
|
+ */
|
|
|
+ @ExcelIgnore
|
|
|
+ private Integer customerType;
|
|
|
+
|
|
|
+ @ExcelProperty("客户类别")
|
|
|
+ private String customerTypeStr;
|
|
|
+
|
|
|
+ @ExcelProperty("终端客户")
|
|
|
+ private String endCustomer;
|
|
|
+
|
|
|
+ @ExcelIgnore
|
|
|
+ private Integer useType;
|
|
|
+
|
|
|
+ @ExcelProperty("使用类型")
|
|
|
+ private String useTypeStr;
|
|
|
+
|
|
|
+ @ExcelProperty("经销商名称")
|
|
|
+ private String agentName;
|
|
|
+
|
|
|
+ @ExcelProperty("项目号")
|
|
|
+ private String projectNum;
|
|
|
+
|
|
|
+ @ExcelProperty("冲值方式")
|
|
|
+ private String payMethod;
|
|
|
+
|
|
|
+ @ExcelProperty("备注")
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ @ExcelIgnore
|
|
|
+ private Date incrementStartTime;
|
|
|
+
|
|
|
+ @ExcelIgnore
|
|
|
+ private Date incrementEndTime;
|
|
|
+
|
|
|
+ @ExcelProperty("会员服务期限")
|
|
|
+ private String incrementTime;
|
|
|
+
|
|
|
+ @ExcelProperty("SN码")
|
|
|
+ private String snCode;
|
|
|
+
|
|
|
public String getPayType() {
|
|
|
+ if(payType == null){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
switch (payType){
|
|
|
case "0" : return "微信";
|
|
|
case "1" : return "支付宝";
|
|
@@ -57,6 +111,9 @@ public class IncrementOrderVo {
|
|
|
|
|
|
|
|
|
public String getPayStatus() {
|
|
|
+ if(payStatus == null){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
switch (payStatus){
|
|
|
case "-1" :
|
|
|
case "0" :
|
|
@@ -66,4 +123,37 @@ public class IncrementOrderVo {
|
|
|
default: return "";
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ public String getCustomerTypeStr() {
|
|
|
+ if(customerType == null){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+ switch (customerType){
|
|
|
+ case 0 : return "直销";
|
|
|
+ case 1 : return "经销";
|
|
|
+ default: return "";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUseTypeStr() {
|
|
|
+ if(useType == null){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+ switch (useType){
|
|
|
+ case 1 : return "项目实施";
|
|
|
+ case 2 : return "客户试用";
|
|
|
+ case 3 : return "内部测试";
|
|
|
+ case 4 : return "正常销售";
|
|
|
+ case 5 : return "渠道推广";
|
|
|
+ case 6 : return "其它";
|
|
|
+ default: return "";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getIncrementTime() {
|
|
|
+ if(incrementStartTime==null || incrementEndTime == null){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+ return Dateutils.getDayDate(incrementStartTime) +"~" + Dateutils.getDayDate(incrementEndTime);
|
|
|
+ }
|
|
|
}
|