dev-discount
袁野 2 years ago
parent 7ed5736e25
commit 3aca2b3b0d
  1. 2
      hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java
  2. 2
      hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java

@ -101,7 +101,7 @@ public class HighOrderSchedule {
public void initRechargeOrder() { public void initRechargeOrder() {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("payStatus", String.valueOf(102)); map.put("payStatus", String.valueOf(102));
map.put("rechargeStatus", String.valueOf(204)); map.put("rechargeStatus", String.valueOf(205));
List<OutRechargeOrder> orderList = outRechargeOrderService.getListRechargeOrder(map); List<OutRechargeOrder> orderList = outRechargeOrderService.getListRechargeOrder(map);
if (orderList.size() > 0) { if (orderList.size() > 0) {
for (OutRechargeOrder order : orderList) { for (OutRechargeOrder order : orderList) {

@ -975,7 +975,7 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService {
} }
if (childOrder.getStatus() == 103) { if (childOrder.getStatus() == 103) {
outRechargeOrder.setRechargeStatus(204); outRechargeOrder.setRechargeStatus(205);
} }
outRechargeOrderService.updateOrder(outRechargeOrder); outRechargeOrderService.updateOrder(outRechargeOrder);
System.out.println("话费定时任务 -> 需要重新充值:结束"); System.out.println("话费定时任务 -> 需要重新充值:结束");

Loading…
Cancel
Save