|
|
|
@ -5,13 +5,13 @@ import com.logpm.factory.pan.service.IPanFactoryDataService;
|
|
|
|
|
import com.rabbitmq.client.Channel; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.common.constant.RabbitConstant; |
|
|
|
|
import org.springblade.common.exception.CustomerException; |
|
|
|
|
import org.springframework.amqp.core.Message; |
|
|
|
|
import org.springframework.amqp.rabbit.annotation.RabbitHandler; |
|
|
|
|
import org.springframework.amqp.rabbit.annotation.RabbitListener; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -40,9 +40,11 @@ public class OpReceivingDataHandler {
|
|
|
|
|
try { |
|
|
|
|
panFactoryDataService.handleDataToPlatform(orderPackageCode, receivingTime); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
} catch (CustomerException e) { |
|
|
|
|
log.error("##################opReceivingDataHandler: 处理欧派收货数据到新系统,orderPackageCode:{},receivingTime:{},msg:{}", |
|
|
|
|
orderPackageCode,receivingTime,e.getMessage()); |
|
|
|
|
orderPackageCode,receivingTime,e.message); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("##################opReceivingDataHandler: 处理欧派收货数据到新系统",e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|