update 钱包明细导出字段

This commit is contained in:
Guoqs
2025-06-19 14:30:10 +08:00
parent 2047c24cf7
commit 1ea389701c
2 changed files with 25 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.vo.uniapp.customer;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.enums.MemberWalletEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@@ -30,9 +31,14 @@ public class MemberWalletLogVO {
/**
* 子类型 10-充值, 11-赠送, 12-订单结算退款20-后管扣款, 21-订单付款, 22-用户退款
*/
@Excel(name = "操作类型(10-充值, 11-赠送, 12-订单结算退款20-后管扣款, 21-订单付款, 22-用户退款)")
private String subType;
/**
* 子类型名称
*/
@Excel(name = "操作类型")
private String subTypeName;
/**
* 出账/入账金额
*/
@@ -76,15 +82,21 @@ public class MemberWalletLogVO {
/**
* 变动前金额
*/
@Excel(name = "变动前金额")
private BigDecimal beforeAmount;
/**
* 变动后金额
*/
@Excel(name = "变动后金额")
private BigDecimal afterAmount;
/**
* 操作人员
*/
private String createBy;
public String getSubTypeName() {
return MemberWalletEnum.getLabelByValue(this.subType);
}
}