增加退款状态描述

This commit is contained in:
TinyAnts 2023-04-03 15:10:57 +08:00
parent f353f78a04
commit 2b890b65f3
2 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,7 @@ public class FinanceRefundServiceImpl implements IFinanceRefundService {
List<FinanceRefundLogVo> list = refundLogMapper.selectJoinList(FinanceRefundLogVo.class, mpjQueryWrapper); List<FinanceRefundLogVo> list = refundLogMapper.selectJoinList(FinanceRefundLogVo.class, mpjQueryWrapper);
for (FinanceRefundLogVo vo : list) { for (FinanceRefundLogVo vo : list) {
vo.setRefundStatusMsg(RefundEnum.getRefundStatusMsg(vo.getRefundStatus()));
vo.setCreateTime(TimeUtils.timestampToDate(vo.getCreateTime())); vo.setCreateTime(TimeUtils.timestampToDate(vo.getCreateTime()));
} }

View File

@ -28,6 +28,9 @@ public class FinanceRefundLogVo implements Serializable {
@ApiModelProperty("退款状态: [0=退款中, 1=退款成功, 2=退款失败]") @ApiModelProperty("退款状态: [0=退款中, 1=退款成功, 2=退款失败]")
private Integer refundStatus; private Integer refundStatus;
@ApiModelProperty("退款状态描述")
private String refundStatusMsg;
@ApiModelProperty("退款信息") @ApiModelProperty("退款信息")
private String refundMsg; private String refundMsg;