|
|
|
@ -24,10 +24,10 @@ public class WarehouseNodeWorkServiceImpl implements IWarehouseNodeWorkService {
|
|
|
|
|
public void returnToTheWarehouse(NodeFanoutMsg<RetentionDataByScanVO> nodeFanoutMsg, BladeUser user) { |
|
|
|
|
try { |
|
|
|
|
if(user != null){ |
|
|
|
|
rabbitTemplate.convertAndSend(FanoutConstants.reservation.OwnReservation.EXCHANGE, null, com.alibaba.fastjson.JSONObject.toJSONString(nodeFanoutMsg)); |
|
|
|
|
rabbitTemplate.convertAndSend(FanoutConstants.distribution.DeliveryAndReturnWarehouse.EXCHANGE, null, com.alibaba.fastjson.JSONObject.toJSONString(nodeFanoutMsg)); |
|
|
|
|
} |
|
|
|
|
} catch (AmqpException e) { |
|
|
|
|
log.error(">>>>>>>>>>>>>>>>>>>>>>>>>> 消息推送失败~ 请联系管理员! ", e); |
|
|
|
|
log.error(">>>>>>>>>>>>>>>>>>>>>>>>>> 回库消息推送失败~ 请联系管理员! ", e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|