| | |
| | | a.setRatio(1.0 - ((double) efficiencyDto.getErrorNumber() / (double) efficiencyDto.getNumber())); |
| | | return a; |
| | | }).collect(Collectors.toList()); |
| | | efficiencyVOS.add(new EfficiencyVO("店外经营", 0, 0.0)); |
| | | efficiencyVOS.add(new EfficiencyVO("沿街晾晒", 0, 0.0)); |
| | | efficiencyVOS.add(new EfficiencyVO("无照经营游商", 0, 0.0)); |
| | | efficiencyVOS.add(new EfficiencyVO("违规撑伞", 0, 0.0)); |
| | | return CommonResult.success(efficiencyVOS); |
| | | } |
| | | |
| | |
| | | public CommonResult<List<AIIotStatisticsVO>> statistics(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | |
| | | List<AIIotStatisticsVO> list = iEfficiencyService.aiMonthList(); |
| | | List<AIIotStatisticsVO> list = iEfficiencyService.aiMonthList(params.getBeginTime(), params.getEndTime()); |
| | | return CommonResult.success(list); |
| | | } |
| | | |