|
|
@ -14,6 +14,8 @@ import com.logpm.oldproject.feign.IAdvanceDetailClient; |
|
|
|
import com.rabbitmq.client.Channel; |
|
|
|
import com.rabbitmq.client.Channel; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springblade.common.constant.RabbitConstant; |
|
|
|
import org.springblade.common.constant.RabbitConstant; |
|
|
|
|
|
|
|
import org.springblade.core.log.feign.ILogClient; |
|
|
|
|
|
|
|
import org.springblade.core.log.model.LogError; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springframework.amqp.core.Message; |
|
|
|
import org.springframework.amqp.core.Message; |
|
|
@ -51,6 +53,8 @@ public class UnloadCarComHandler { |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private IMtPushDataService mtPushDataService; |
|
|
|
private IMtPushDataService mtPushDataService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private ILogClient logClient; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RabbitHandler |
|
|
|
@RabbitHandler |
|
|
|
public void unloadCarComDataHandler(Map map, Message message, Channel channel) { |
|
|
|
public void unloadCarComDataHandler(Map map, Message message, Channel channel) { |
|
|
@ -99,14 +103,14 @@ public class UnloadCarComHandler { |
|
|
|
r.add(carNum); |
|
|
|
r.add(carNum); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
r.forEach(t->{ |
|
|
|
r.forEach(t->{ |
|
|
|
sendDataCarNum(t, unloadCarDTO.getCompleteDate()); |
|
|
|
sendDataCarNum(t, unloadCarDTO.getCompleteDate()); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("##################unloadCarComDataHandler 解析数据出错:{}", e.getMessage()); |
|
|
|
log.error("##################unloadCarComDataHandler 解析数据出错:{}", e.getMessage()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|