@@ -197,7 +197,6 @@ public class AfterSalesController extends BladeController {
}
// 通过
if (auditStatus == 1) {
- afterSales.setRefundState(2);// 退款中
orderService.commonRefund(order, afterSalesId);
} else if (auditStatus == 2) {// 驳回
afterSales.setStatus(AfterSalesStatusEnum.REFUSE.getValue());
@@ -210,7 +210,6 @@ public class AfterSalesServiceImpl extends ServiceImpl<AfterSalesMapper, AfterSa
throw new ServiceException("该售后订单已退款");
orderService.commonRefund(order, afterSales.getId());
@@ -65,6 +65,7 @@ public class IWxPayServiceImpl implements IWxPayService {
@Resource
private IOrderService orderService;
@Lazy
+ @Resource
private IAfterSalesService afterSalesService;
private BladeLogger logger;