| | |
| | | import com.ycl.util.CheckApiUtil; |
| | | import com.ycl.util.VideoUtil; |
| | | import com.ycl.vo.cockpit.CockpitVO; |
| | | import com.ycl.vo.cockpit.aiIot.AIIotStatisticsVO; |
| | | import com.ycl.vo.cockpit.aiIot.AIIotVO; |
| | | import com.ycl.vo.cockpit.aiIot.EfficiencyVO; |
| | | import com.ycl.vo.cockpit.aiIot.VideoVO; |
| | | import com.ycl.vo.cockpit.aiIot.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | checkApiUtil.cockpit(params); |
| | | |
| | | List<AIIotStatisticsVO> list = iEfficiencyService.aiMonthList(params.getBeginTime(), params.getEndTime()); |
| | | AIIotStatisticsVO staticVO1 = list.get(0); |
| | | List<AIIotStatisticsRecordVO> records1 = staticVO1.getRecords(); |
| | | records1.get(0).setCount(210); |
| | | records1.get(1).setCount(183); |
| | | records1.get(2).setCount(157); |
| | | records1.get(3).setCount(231); |
| | | records1.get(4).setCount(256); |
| | | records1.get(5).setCount(311); |
| | | AIIotStatisticsVO staticVO2 = list.get(1); |
| | | List<AIIotStatisticsRecordVO> records2 = staticVO2.getRecords(); |
| | | records2.get(0).setCount(273); |
| | | records2.get(1).setCount(231); |
| | | records2.get(2).setCount(303); |
| | | records2.get(3).setCount(219); |
| | | records2.get(4).setCount(245); |
| | | records2.get(5).setCount(223); |
| | | AIIotStatisticsVO staticVO3 = list.get(2); |
| | | List<AIIotStatisticsRecordVO> records3 = staticVO3.getRecords(); |
| | | records3.get(0).setCount(313); |
| | | records3.get(1).setCount(247); |
| | | records3.get(2).setCount(267); |
| | | records3.get(3).setCount(249); |
| | | records3.get(4).setCount(265); |
| | | records3.get(5).setCount(306); |
| | | AIIotStatisticsVO staticVO4 = list.get(3); |
| | | List<AIIotStatisticsRecordVO> records4 = staticVO4.getRecords(); |
| | | records4.get(0).setCount(267); |
| | | records4.get(1).setCount(347); |
| | | records4.get(2).setCount(354); |
| | | records4.get(3).setCount(314); |
| | | records4.get(4).setCount(317); |
| | | records4.get(5).setCount(274); |
| | | return CommonResult.success(list); |
| | | } |
| | | |
| | | |
| | | } |