mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-03 13:38:02 +08:00
update 会员钱包流水导出
This commit is contained in:
@@ -321,6 +321,7 @@ public class MemberBasicInfoController extends BaseController {
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询会员明细
|
* 查询会员明细
|
||||||
* @param dto
|
* @param dto
|
||||||
@@ -351,6 +352,11 @@ public class MemberBasicInfoController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PostMapping("/exportMemberWalletLog")
|
@PostMapping("/exportMemberWalletLog")
|
||||||
public void exportMemberWalletLog(HttpServletResponse response, UniAppQueryMemberBalanceDTO dto){
|
public void exportMemberWalletLog(HttpServletResponse response, UniAppQueryMemberBalanceDTO dto){
|
||||||
|
AuthorizedDeptVO authorizedMap = UserUtils.getAuthorizedMap();
|
||||||
|
if (authorizedMap == null) {
|
||||||
|
// 为空表示没有权限,返回空数组
|
||||||
|
return;
|
||||||
|
}
|
||||||
List<MemberWalletLogVO2> memberWalletLogVO2 = memberWalletLogService.getByMemberId(dto.getMemberId());
|
List<MemberWalletLogVO2> memberWalletLogVO2 = memberWalletLogService.getByMemberId(dto.getMemberId());
|
||||||
ExcelUtil<MemberWalletLogVO2> util = new ExcelUtil<MemberWalletLogVO2>(MemberWalletLogVO2.class);
|
ExcelUtil<MemberWalletLogVO2> util = new ExcelUtil<MemberWalletLogVO2>(MemberWalletLogVO2.class);
|
||||||
util.exportExcel(response, memberWalletLogVO2, "会员钱包流水");
|
util.exportExcel(response, memberWalletLogVO2, "会员钱包流水");
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ public class MemberWalletLogVO {
|
|||||||
/**
|
/**
|
||||||
* 子类型 10-充值, 11-赠送, 12-订单结算退款,20-后管扣款, 21-订单付款, 22-用户退款
|
* 子类型 10-充值, 11-赠送, 12-订单结算退款,20-后管扣款, 21-订单付款, 22-用户退款
|
||||||
*/
|
*/
|
||||||
|
@Excel(name = "操作类型(10-充值, 11-赠送, 12-订单结算退款,20-后管扣款, 21-订单付款, 22-用户退款)",
|
||||||
|
readConverterExp = "10=充值,11=赠送,12=订单结算退款,20=后管扣款,21=订单付款,22=用户退款")
|
||||||
private String subType;
|
private String subType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -42,6 +44,7 @@ public class MemberWalletLogVO {
|
|||||||
/**
|
/**
|
||||||
* 出账/入账金额
|
* 出账/入账金额
|
||||||
*/
|
*/
|
||||||
|
@Excel(name = "金额")
|
||||||
private BigDecimal amount;
|
private BigDecimal amount;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -53,6 +56,7 @@ public class MemberWalletLogVO {
|
|||||||
/**
|
/**
|
||||||
* 余额类型(1-本金,2-赠送)
|
* 余额类型(1-本金,2-赠送)
|
||||||
*/
|
*/
|
||||||
|
@Excel(name = "余额类型(1-本金,2-赠送)", readConverterExp = "1=本金,2=赠送")
|
||||||
private String category;
|
private String category;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -94,6 +98,7 @@ public class MemberWalletLogVO {
|
|||||||
/**
|
/**
|
||||||
* 操作人员
|
* 操作人员
|
||||||
*/
|
*/
|
||||||
|
@Excel(name = "操作人员")
|
||||||
private String createBy;
|
private String createBy;
|
||||||
|
|
||||||
public String getSubTypeName() {
|
public String getSubTypeName() {
|
||||||
|
|||||||
Reference in New Issue
Block a user