|
|
@ -70,6 +70,9 @@ public class DcDeviceOnlineController extends BaseController { |
|
|
|
if(StringUtil.isEmpty(params.getOrderByField()) ||"time".equals(params.getOrderByField())) { |
|
|
|
params.setOrderByField("online_rate"); |
|
|
|
} |
|
|
|
|
|
|
|
params.setStakeMark(params.getStakeMark().replace(" ","+")); |
|
|
|
|
|
|
|
List<OnlineSum> sums = onlineSumService.queryByDeviceTypesOfToday(params); |
|
|
|
Map<String,List<OnlineSum>> sumsMap = sums.stream().collect(Collectors.groupingBy(OnlineSum::getDeviceType)); |
|
|
|
LinkedHashMap<String,Object> map = new LinkedHashMap<>(); |
|
|
@ -96,6 +99,7 @@ public class DcDeviceOnlineController extends BaseController { |
|
|
|
params.setOrderByField("online_rate"); |
|
|
|
} |
|
|
|
startPage(); |
|
|
|
params.setStakeMark(params.getStakeMark().replace(" ","+")); |
|
|
|
List<OnlineSum> sums = onlineSumService.queryByDeviceTypesOfToday(params); |
|
|
|
/*Map<String,OnlineSum> onlineSumMap = redisCache.getCacheMap(RedisKeyConstants.DEVICE_ONLINE); |
|
|
|
String date = LocalDate.now().toString();*/ |
|
|
|