From 8bf923b44bbe9b45b73ddcc25df75c9c59f54e07 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Thu, 15 Jun 2023 11:19:44 +0800
Subject: [PATCH] fix

---
 src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java b/src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java
index 49f5801..46d3309 100644
--- a/src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java
+++ b/src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java
@@ -1,5 +1,9 @@
 package cc.mrbird.febs.mall.vo;
 
+import cc.mrbird.febs.mall.excel.FlowTypeConverter;
+import cc.mrbird.febs.mall.excel.MoneyFlowTypeConverter;
+import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
+import com.alibaba.excel.annotation.ExcelProperty;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModel;
 import lombok.Data;
@@ -8,28 +12,46 @@
 import java.util.Date;
 
 @Data
+@ExcelIgnoreUnannotated
 @ApiModel(value = "AdminMoneyFlowListVo", description = "信息返回类")
 public class AdminMoneyFlowListVo {
 
     private Long id;
 
+    @ExcelProperty(value = "时间", index = 6)
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date createdTime;
 
+    @ExcelProperty(value = "金额", index = 3)
     private BigDecimal amount;
 
+    @ExcelProperty(value = "流水类型", index = 4, converter = MoneyFlowTypeConverter.class)
     private Integer type;
 
+    @ExcelProperty(value = "订单编号", index = 7)
     private String orderNo;
 
     private String description;
 
     private String remark;
 
+    @ExcelProperty(value = "名称", index = 1)
     private String name;
 
+    @ExcelProperty(value = "账号", index = 2)
     private String phone;
 
     private Integer status;
 
+    private String payMethod;
+
+    private String bindPhone;
+
+    @ExcelProperty(value = "资金类型", index = 5, converter = FlowTypeConverter.class)
+    private Integer flowType;
+    /**
+     * 来源
+     */
+    private String fromMemberName;
+
 }

--
Gitblit v1.9.1