|
@@ -23,6 +23,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springblade.common.enums.YesOrNoEnum;
|
|
|
import org.springblade.core.log.exception.ServiceException;
|
|
|
import org.springblade.core.log.logger.BladeLogger;
|
|
|
+import org.springblade.modules.finance.entity.AfterSales;
|
|
|
import org.springblade.modules.finance.entity.Order;
|
|
|
import org.springblade.modules.finance.entity.OrderRefund;
|
|
|
import org.springblade.modules.finance.pay.entity.WxPayV3Bean;
|
|
@@ -319,6 +320,9 @@ public class IWxPayServiceImpl implements IWxPayService {
|
|
|
}
|
|
|
if ("PROCESSING".equals(status)) {
|
|
|
log.info("订单号[{}],微信退款处理中", orderNo);
|
|
|
+ AfterSales afterSales = afterSalesService.getById(afterSalesId);
|
|
|
+ afterSales.setRefundState(2);// 退款中
|
|
|
+ afterSalesService.updateById(afterSales);
|
|
|
orderRefundService.saveOrUpdate(orderRefund);
|
|
|
}
|
|
|
if ("ABNORMAL".equals(status)) {
|