update 查询会员余额变动记录列表

This commit is contained in:
2023-11-08 14:59:19 +08:00
parent d87eb90691
commit 714f3e41d7
3 changed files with 14 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ public class MemberBasicInfoController extends BaseController {
/** /**
* 查询会员钱包流水 * 查询会员钱包流水
* http://localhost:8080/member/info/queryMemberBalanceChanges
*/ */
@PostMapping("/queryMemberBalanceChanges") @PostMapping("/queryMemberBalanceChanges")
public TableDataInfo queryMemberBalanceChanges(@RequestBody UniAppQueryMemberBalanceDTO dto) { public TableDataInfo queryMemberBalanceChanges(@RequestBody UniAppQueryMemberBalanceDTO dto) {

View File

@@ -64,4 +64,14 @@ public class MemberWalletLogVO {
* 退款金额 * 退款金额
*/ */
private BigDecimal refundAmount; private BigDecimal refundAmount;
/**
* 变动前金额
*/
private BigDecimal beforeAmount;
/**
* 变动后金额
*/
private BigDecimal afterAmount;
} }

View File

@@ -500,7 +500,9 @@
t1.sub_type as subType, t1.sub_type as subType,
t1.amount, t1.amount,
t1.category, t1.category,
t1.create_time as transactionTime t1.create_time as transactionTime,
t1.before_amount as beforeAmount,
t1.after_amount as afterAmount
from member_wallet_log t1 from member_wallet_log t1
where t1.member_id = #{memberId,jdbcType=VARCHAR} where t1.member_id = #{memberId,jdbcType=VARCHAR}
<if test="type != null and type != ''"> <if test="type != null and type != ''">