mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
配置充电停车优惠
This commit is contained in:
@@ -3,7 +3,6 @@ package com.jsowell.mq;
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.huifu.adapay.core.exception.BaseAdaPayException;
|
||||
import com.jsowell.common.constant.RabbitConstants;
|
||||
import com.jsowell.common.util.YKCUtils;
|
||||
import com.jsowell.pile.dto.AfterSettleOrderDTO;
|
||||
import com.jsowell.pile.service.OrderBasicInfoService;
|
||||
import com.rabbitmq.client.Channel;
|
||||
@@ -14,7 +13,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 监听RabbitMQ消息 订单
|
||||
@@ -33,10 +31,11 @@ public class OrderRabbitListener {
|
||||
public void receiveChargeOrderData(AfterSettleOrderDTO afterSettleOrderDTO, Channel channel, Message message) throws IOException {
|
||||
log.info("接收到订单结算数据:{}", JSON.toJSONString(afterSettleOrderDTO));
|
||||
|
||||
List<String> newLogicStationIdList = YKCUtils.getNewLogicStationIdList();
|
||||
if (!newLogicStationIdList.contains(afterSettleOrderDTO.getStationId())) {
|
||||
return;
|
||||
}
|
||||
// 2025年2月18日09点18分全部订单改为实时分账
|
||||
// List<String> newLogicStationIdList = YKCUtils.getNewLogicStationIdList();
|
||||
// if (!newLogicStationIdList.contains(afterSettleOrderDTO.getStationId())) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
log.info("realTimeOrderSplit-订单{}开始执行新分账方法", afterSettleOrderDTO.getOrderCode());
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user