退款申请接口实现优化
This commit is contained in:
parent
8989928d03
commit
ec2ed279ee
@ -382,7 +382,7 @@ public class WxPayServiceImpl implements WxPayService {
|
|||||||
ebikeRefund.setProcessState(processDto.getOperate());
|
ebikeRefund.setProcessState(processDto.getOperate());
|
||||||
ebikeRefund.setProcessTime(LocalDateTime.now());
|
ebikeRefund.setProcessTime(LocalDateTime.now());
|
||||||
ebikeRefund.setRemark(processDto.getReason());
|
ebikeRefund.setRemark(processDto.getReason());
|
||||||
if (String.valueOf(RefundProcessState.processing).equals(processDto.getOperate())) {
|
if (String.valueOf(RefundProcessState.processing.ordinal()).equals(processDto.getOperate())) {
|
||||||
ebikeRefund.setRefund(ebikeRefund.getRefundApply());
|
ebikeRefund.setRefund(ebikeRefund.getRefundApply());
|
||||||
ebikeRefund.setRefundMethod(processDto.getMethod());
|
ebikeRefund.setRefundMethod(processDto.getMethod());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user