feat:记账扣款余额判断

This commit is contained in:
dzc committed 2025-04-15 10:31:43 +08:00
1 parent 5a2e90f67c
commit 96fe841151
3 files changed
+92 -1

No files matched your search

@@ -23,6 +23,16 @@ public class WalletRechargeApplyCompareVo extends HashMap<String, Object> {
*/
private String userMobile;
/**
* 操作前的余额
*/
private Integer prenBalance;
/**
* 扣减之后的余额
*/
private Integer discountBalance;
public void setUserId(Long userId) {
this.userId = userId;
this.put("userId", userId);
@@ -58,4 +68,22 @@ public class WalletRechargeApplyCompareVo extends HashMap<String, Object> {
this.userMobile = userMobile;
this.put("userMobile", userMobile);
}
public Integer getPrenBalance() {
return (Integer) this.get("prenBalance");
}
public void setPrenBalance(Integer prenBalance) {
this.prenBalance = prenBalance;
this.put("prenBalance", prenBalance);
}
public Integer getDiscountBalance() {
return (Integer) this.get("discountBalance");
}
public void setDiscountBalance(Integer discountBalance) {
this.discountBalance = discountBalance;
this.put("discountBalance", discountBalance);
}
}