|
|
@@ -334,7 +334,7 @@ public class SearcherServiceImpl implements SearcherService {
|
|
|
if ("goods_brand".equals(collectList)) {
|
|
|
if (this.deviceResolver.resolveDevice(request).isMobile()) {
|
|
|
for (Map<String, Object> m : collectResult) {
|
|
|
- m.put("logoUrl", brandDao.findOne(Long.parseLong(m.get("br_id").toString())).getLogoUrl());
|
|
|
+ m.put("logoUrl", brandDao.findOne(Long.parseLong(m.get("br_id").toString())) == null ? null:brandDao.findOne(Long.parseLong(m.get("br_id").toString())).getLogoUrl());
|
|
|
}
|
|
|
}
|
|
|
}
|