diff --git a/hai-cweb/src/main/java/com/cweb/controller/HighGasController.java b/hai-cweb/src/main/java/com/cweb/controller/HighGasController.java index b166831d..731a2793 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/HighGasController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/HighGasController.java @@ -92,10 +92,12 @@ public class HighGasController { if (region != null) { List> storeList = highGasOilPriceService.getStoreListByOilNo(storeName,region.getRegionId(), oilNoName); for (Map store : storeList) { - if (StringUtils.isNotBlank(MapUtils.getString(store, "store_logo"))) { - store.put("store_logo", CommonSysConst.getSysConfig().getHsgDomainName() +"/filesystem/"+MapUtils.getString(store, "store_logo")); - } else { - store.put("store_logo", null); + if (MapUtils.getInteger(store, "source_type").equals(1)) { + if (StringUtils.isNotBlank(MapUtils.getString(store, "store_logo"))) { + store.put("store_logo", CommonSysConst.getSysConfig().getHsgDomainName() +"/filesystem/"+MapUtils.getString(store, "store_logo")); + } else { + store.put("store_logo", null); + } } double distance = CoordCommonUtil.getDistance(Double.valueOf(store.get("latitude").toString()), Double.valueOf(store.get("longitude").toString()), Double.valueOf(latitude), Double.valueOf(longitude)); store.put("distance", Math.round(distance/100d)/10d);