| | |
| | | } |
| | | |
| | | if ("goods".equals(queryParam.getCurrentType())){ |
| | | List<Map<String, Object>> maps = baseMapper.selectViewAndCompletionRateCountByDay(startTime, endTime,queryParam.getCurrentLimit()); |
| | | List<Map<String, Object>> maps = baseMapper.selectViewAndCompletionRateCountByDay(startTime, endTime,queryParam.getCurrentLimit(),queryParam.getStoreId()); |
| | | Map<String,Long> viewPrintMap = maps.stream() |
| | | .collect(Collectors.toMap( |
| | | map -> { |
| | |
| | | data.put("xData", xData); |
| | | return Result.ok().data(data); |
| | | }else{ |
| | | List<Map<String, Object>> maps = baseMapper.selectEachVideoStats(startTime, endTime,queryParam.getCurrentLimit()); |
| | | List<Map<String, Object>> maps = baseMapper.selectEachVideoStats(startTime, endTime,queryParam.getCurrentLimit(),queryParam.getStoreId()); |
| | | Map<String, VideoViewCompletionRateVO> viewPrintMap = maps.stream() |
| | | .collect(Collectors.toMap( |
| | | map -> { |