|
|
|
@ -31,12 +31,19 @@ public class OrderInfoUpdateHandler {
|
|
|
|
|
key = RabbitConstant.ORDER_INFO_UPDATE_ROUTING |
|
|
|
|
)) |
|
|
|
|
public void updateOrderInfo(String msg, Channel channel) { |
|
|
|
|
log.info("############updateOrderInfo: 当前处理的订单 msg={}",msg); |
|
|
|
|
|
|
|
|
|
if(StringUtil.isNotBlank(msg)){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DistributionStockArticleEntity bean = JSONUtil.toBean(msg, DistributionStockArticleEntity.class); |
|
|
|
|
|
|
|
|
|
distributionStockArticleService.updateOrderInfoByDistributionStockArticleEntity(bean); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
log.info("############updateOrderInfo: 处理完成 "); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|