修改请求接口

dev-discount
袁野 2 years ago
parent c74cb14ed7
commit 61036ff264
  1. 6
      hai-bweb/src/main/java/com/bweb/excelListener/ImportRechargeOrderListener.java

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

Loading…
Cancel
Save