mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 02:20:12 +08:00
update 新的分账方法
This commit is contained in:
@@ -32,14 +32,17 @@ public class OrderRabbitListener {
|
|||||||
@RabbitListener(queues = RabbitConstants.QUEUE_CHARGE_ORDER_DATA)
|
@RabbitListener(queues = RabbitConstants.QUEUE_CHARGE_ORDER_DATA)
|
||||||
public void receiveChargeOrderData(AfterSettleOrderDTO afterSettleOrderDTO, Channel channel, Message message) throws IOException {
|
public void receiveChargeOrderData(AfterSettleOrderDTO afterSettleOrderDTO, Channel channel, Message message) throws IOException {
|
||||||
log.info("接收到订单结算数据:{}", JSON.toJSONString(afterSettleOrderDTO));
|
log.info("接收到订单结算数据:{}", JSON.toJSONString(afterSettleOrderDTO));
|
||||||
|
|
||||||
List<String> newLogicStationIdList = YKCUtils.getNewLogicStationIdList();
|
List<String> newLogicStationIdList = YKCUtils.getNewLogicStationIdList();
|
||||||
if (newLogicStationIdList.contains(afterSettleOrderDTO.getStationId())) {
|
if (!newLogicStationIdList.contains(afterSettleOrderDTO.getStationId())) {
|
||||||
log.info("realTimeOrderSplit-订单{}开始执行新分账方法", afterSettleOrderDTO.getOrderCode());
|
return;
|
||||||
try {
|
}
|
||||||
orderBasicInfoService.realTimeOrderSplit(afterSettleOrderDTO);
|
|
||||||
} catch (BaseAdaPayException e) {
|
log.info("realTimeOrderSplit-订单{}开始执行新分账方法", afterSettleOrderDTO.getOrderCode());
|
||||||
throw new RuntimeException(e);
|
try {
|
||||||
}
|
orderBasicInfoService.realTimeOrderSplit(afterSettleOrderDTO);
|
||||||
|
} catch (BaseAdaPayException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 2024年12月26日16点27分 取消了手动应答配置
|
// 2024年12月26日16点27分 取消了手动应答配置
|
||||||
|
|||||||
Reference in New Issue
Block a user