修改notification_stop_charge_result_task的删除pushOrder逻辑

This commit is contained in:
wen 2021-11-16 16:51:05 +08:00
parent 945c1097aa
commit 65139d6496

View File

@ -90,12 +90,12 @@ public class NotificationStopChargeResultTask extends CoreDispatcher {
ChargeResultResponse chargeResultResponse = DTOJsonHelper.parseResponseData(result,
ChargeResultResponse.class, authSecretTokenOut);
succStat = chargeResultResponse.getSuccStat();
//推送成功则排除这个已推送的订单否则则继续推送该订单 // 用于测试暂时注释
//推送成功则排除这个已推送的订单否则则继续推送该订单
//将stopCommandSent置为null表示推送成功之后该订单都不进行推送
if (succStat == 0) {
REDIS.deleteObject(pushOrderKey);
pushOrder.replace("stopCommandSent", null);
REDIS.setCacheMap(pushOrderKey, pushOrder);
}
// pushOrder.put("stopCommandSent", false);
// REDIS.setCacheMap(pushOrderKey, pushOrder);
}
}
}