|
|
|
@ -40,12 +40,6 @@ public class ImportRechargeOrderListener extends AnalysisEventListener<ExportOut |
|
|
|
|
|
|
|
|
|
OutRechargeOrder rechargeOrder = outRechargeOrderService.findByOrderNo(data.getOrderNo()); |
|
|
|
|
|
|
|
|
|
if (rechargeOrder.getRechargeStatus() != 203 || rechargeOrder.getRechargeType() != 2) { |
|
|
|
|
data.setErrorMessage("当前订单状态错误。"); |
|
|
|
|
errorData.add(data); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (Objects.equals(data.getRechargeStatusName(), "成功")) { |
|
|
|
|
outRechargeOrderService.finishOrder(rechargeOrder.getId()); |
|
|
|
|
} else if (Objects.equals(data.getRechargeStatusName(), "失败")){ |
|
|
|
|