|
@@ -248,7 +248,7 @@ public class BrandServiceImpl implements BrandService {
|
|
|
List<BrandSearch> brandSearches = brandMapper.searchSearchByMulti(text, industryCode, countUp, countDown, coverUp, coverDown);
|
|
|
if (userId == null || userId.equals("")){
|
|
|
for (BrandSearch search : brandSearches){
|
|
|
- search.setAttention("0");
|
|
|
+ search.setAttention(0);
|
|
|
}
|
|
|
}else {
|
|
|
List<AttentionPool> pools = attentionPoolDao.searchByMulti(null, userId);
|
|
@@ -258,9 +258,9 @@ public class BrandServiceImpl implements BrandService {
|
|
|
}
|
|
|
for (BrandSearch search : brandSearches){
|
|
|
if (map.get(search.getBrandId()) == null){
|
|
|
- search.setAttention("0");
|
|
|
+ search.setAttention(0);
|
|
|
}else {
|
|
|
- search.setAttention("1");
|
|
|
+ search.setAttention(1);
|
|
|
}
|
|
|
}
|
|
|
}
|