提交 748a92a9 作者: xiaowang

提现状态

上级 5e5ab988
...@@ -40,6 +40,8 @@ public class PayWalletDTO implements Serializable { ...@@ -40,6 +40,8 @@ public class PayWalletDTO implements Serializable {
private BigDecimal totalSalary; private BigDecimal totalSalary;
@ApiModelProperty(value = "已提现的金额") @ApiModelProperty(value = "已提现的金额")
private BigDecimal rebateWdl; private BigDecimal rebateWdl;
@ApiModelProperty(value = "提现冻结金额")
private BigDecimal wdlFreeze;
@ApiModelProperty(value = "冻结总额") @ApiModelProperty(value = "冻结总额")
private BigDecimal totalFreeze; private BigDecimal totalFreeze;
@ApiModelProperty(value = "总金额") @ApiModelProperty(value = "总金额")
......
...@@ -27,7 +27,7 @@ public class WithdrawalApplyDTO implements Serializable { ...@@ -27,7 +27,7 @@ public class WithdrawalApplyDTO implements Serializable {
private Integer userAccountId; private Integer userAccountId;
@ApiModelProperty(value = "申请金额") @ApiModelProperty(value = "申请金额")
private BigDecimal applyAmt; private BigDecimal applyAmt;
@ApiModelProperty(value = "状态: 0平台处理中 1提现成功 2提现失败") @ApiModelProperty(value = "申请状态: 0平台处理中 1提现成功 2提现失败")
private Integer applyStatus; private Integer applyStatus;
@ApiModelProperty(value = "开户人") @ApiModelProperty(value = "开户人")
private String empName; private String empName;
...@@ -45,6 +45,8 @@ public class WithdrawalApplyDTO implements Serializable { ...@@ -45,6 +45,8 @@ public class WithdrawalApplyDTO implements Serializable {
private String settleType; private String settleType;
@ApiModelProperty(value = "处理信息") @ApiModelProperty(value = "处理信息")
private String tradeResult; private String tradeResult;
@ApiModelProperty(value = "apply 提现申请 await待发放 handle交易中 success 交易成功 failure 交易失败")
private String tradeStatus;
@ApiModelProperty(value = "创建时间") @ApiModelProperty(value = "创建时间")
private Date createTime; private Date createTime;
......
...@@ -32,8 +32,8 @@ public class WithdrawalApplyQO implements Serializable { ...@@ -32,8 +32,8 @@ public class WithdrawalApplyQO implements Serializable {
@ApiModelProperty(value = "结束时间", example = "2023-08-28 23:59:59") @ApiModelProperty(value = "结束时间", example = "2023-08-28 23:59:59")
private String endTime; private String endTime;
@ApiModelProperty(value = "状态: 0提现申请中 1提现成功 2提现失败", example = "0") @ApiModelProperty(value = "状态: apply 提现申请 await待发放 handle交易中 success 交易成功 failure 交易失败", example = "0")
private Integer applyStatus; private Integer tradeStatus;
@ApiModelProperty(value = "通道标识-微信(wechat)-支付宝(alipay)-银行卡(bank_card)", required = true, example = "wechat") @ApiModelProperty(value = "通道标识-微信(wechat)-支付宝(alipay)-银行卡(bank_card)", required = true, example = "wechat")
private String settleType; private String settleType;
......
...@@ -72,8 +72,8 @@ public class PayWalletDO implements Serializable { ...@@ -72,8 +72,8 @@ public class PayWalletDO implements Serializable {
public PayWalletDTO buildPayWalletDTO() { public PayWalletDTO buildPayWalletDTO() {
return PayWalletDTO.builder().id(this.id).userAccountId(this.userAccountId) return PayWalletDTO.builder().id(this.id).userAccountId(this.userAccountId)
.cashAmt(this.cashAmt).cashFreeze(this.cashFreeze) .cashAmt(this.cashAmt).cashFreeze(this.cashFreeze)
.salaryAmt(this.salaryAmt).salaryFreeze(this.salaryFreeze) .salaryAmt(this.salaryAmt).salaryFreeze(this.salaryFreeze.add(this.wdlFreeze))
.rebateWdl(this.salaryWdl).build(); .rebateWdl(this.salaryWdl).wdlFreeze(this.wdlFreeze).build();
} }
public void defaultValue() { public void defaultValue() {
......
...@@ -319,8 +319,8 @@ ...@@ -319,8 +319,8 @@
from xz_withdrawal_apply from xz_withdrawal_apply
<where> <where>
1 = 1 1 = 1
<if test="applyStatus != null"> <if test="tradeStatus != null">
and apply_status = #{applyStatus} and trade_status = #{tradeStatus}
</if> </if>
<if test="startTime != null and startTime != '' "> <if test="startTime != null and startTime != '' ">
and create_time &gt;= and create_time &gt;=
...@@ -382,8 +382,8 @@ ...@@ -382,8 +382,8 @@
from xz_withdrawal_apply from xz_withdrawal_apply
<where> <where>
1 = 1 1 = 1
<if test="applyStatus != null"> <if test="tradeStatus != null">
and apply_status = #{applyStatus} and trade_status = #{tradeStatus}
</if> </if>
<if test="startTime != null and startTime != '' "> <if test="startTime != null and startTime != '' ">
and create_time &gt;= and create_time &gt;=
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论