From eafe68cf77bee466b7cea122784f784e694fef53 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Thu, 15 Jun 2023 09:01:41 +0800
Subject: [PATCH] “1
---
src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java | 12 ++++++++++++
1 files changed, 12 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 1f931a5..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,26 +12,33 @@
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;
@@ -36,6 +47,7 @@
private String bindPhone;
+ @ExcelProperty(value = "资金类型", index = 5, converter = FlowTypeConverter.class)
private Integer flowType;
/**
* 来源
--
Gitblit v1.9.1