|
|
|
@ -149,7 +149,7 @@ public class HomeServiceImpl implements HomeService {
|
|
|
|
|
List<StationCountVo> counts = new ArrayList<>(); |
|
|
|
|
HomePageConstant.SERVETYPE_LIST.forEach(serve ->counts.addAll(HomePageConstant.HOME_TYPES.stream().map(type -> { |
|
|
|
|
StationCountVo count = new StationCountVo(); |
|
|
|
|
count.setServeType(serve); |
|
|
|
|
count.setServeType(serve.toString()); |
|
|
|
|
if(HomePageConstant.CHARGE.equals(type) && "2".equals(serve)){ |
|
|
|
|
TargetVo target = (TargetVo) redisTemplate.opsForValue().get(charge); |
|
|
|
|
if(ObjectUtil.isNotEmpty(target)){ |
|
|
|
|