退款申请接口实现优化

This commit is contained in:
dzl 2025-05-19 09:50:04 +08:00
parent 8989928d03
commit ec2ed279ee

View File

@ -382,7 +382,7 @@ public class WxPayServiceImpl implements WxPayService {
ebikeRefund.setProcessState(processDto.getOperate());
ebikeRefund.setProcessTime(LocalDateTime.now());
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.setRefundMethod(processDto.getMethod());
}