feat:()修改策略信息存储方法
parent
171df03d7c
commit
83961147fc
|
@ -4,6 +4,7 @@ import com.muyu.domain.Fence;
|
||||||
import com.muyu.domain.Vehicle;
|
import com.muyu.domain.Vehicle;
|
||||||
import com.muyu.domain.WarnRule;
|
import com.muyu.domain.WarnRule;
|
||||||
import com.muyu.domain.WarnStrategy;
|
import com.muyu.domain.WarnStrategy;
|
||||||
|
import com.muyu.domain.resp.WarnRuleResp;
|
||||||
import com.muyu.enterprise.cache.*;
|
import com.muyu.enterprise.cache.*;
|
||||||
import com.muyu.processing.utils.CacheUtil;
|
import com.muyu.processing.utils.CacheUtil;
|
||||||
import com.rabbitmq.client.Channel;
|
import com.rabbitmq.client.Channel;
|
||||||
|
@ -55,7 +56,7 @@ public class OnLineMonitoringConsumer {
|
||||||
try {
|
try {
|
||||||
log.info("添加本地缓存,车辆vin: {}", vin);
|
log.info("添加本地缓存,车辆vin: {}", vin);
|
||||||
WarnRule warnRule = warnRuleCacheService.get(vin);
|
WarnRule warnRule = warnRuleCacheService.get(vin);
|
||||||
WarnStrategy warnStrategy = warnStrategyCacheService.get(vin);
|
WarnRuleResp warnStrategy = warnStrategyCacheService.get(vin);
|
||||||
Vehicle vehicle = vehicleCacheService.get(vin);
|
Vehicle vehicle = vehicleCacheService.get(vin);
|
||||||
Object breakdown = faultCacheService.get(vin);
|
Object breakdown = faultCacheService.get(vin);
|
||||||
Fence fence = fenceCahceService.get(vin);
|
Fence fence = fenceCahceService.get(vin);
|
||||||
|
|
Loading…
Reference in New Issue