| | |
| | | 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); |
| | | // List<AIIotStatisticsVO> list = new ArrayList<>(); |
| | | // AIIotStatisticsVO a1 = new AIIotStatisticsVO(); |
| | | // String type1 = "非机动车乱停放"; |
| | | // List<AIIotStatisticsRecordVO> records1 = new ArrayList<>(); |
| | | // AIIotStatisticsRecordVO ai1 = new AIIotStatisticsRecordVO(); |
| | | // ai1.setMonth("2024-01"); |
| | | // ai1.setCount(210); |
| | | // AIIotStatisticsRecordVO ai2 = new AIIotStatisticsRecordVO(); |
| | | // ai2.setMonth("2023-12"); |
| | | // ai2.setCount(183); |
| | | // AIIotStatisticsRecordVO ai3 = new AIIotStatisticsRecordVO(); |
| | | // ai3.setMonth("2023-11"); |
| | | // ai3.setCount(157); |
| | | // AIIotStatisticsRecordVO ai4 = new AIIotStatisticsRecordVO(); |
| | | // ai4.setMonth("2023-10"); |
| | | // ai4.setCount(231); |
| | | // AIIotStatisticsRecordVO ai5 = new AIIotStatisticsRecordVO(); |
| | | // ai5.setMonth("2023-09"); |
| | | // ai5.setCount(256); |
| | | // AIIotStatisticsRecordVO ai6 = new AIIotStatisticsRecordVO(); |
| | | // ai6.setMonth("2023-08"); |
| | | // ai6.setCount(311); |
| | | // records1.add(ai1); |
| | | // records1.add(ai2); |
| | | // records1.add(ai3); |
| | | // records1.add(ai4); |
| | | // records1.add(ai5); |
| | | // records1.add(ai6); |
| | | // a1.setType(type1); |
| | | // a1.setRecords(records1); |
| | | // list.add(a1); |
| | | // |
| | | // AIIotStatisticsVO a2 = new AIIotStatisticsVO(); |
| | | // String type2 = "店外经营"; |
| | | // List<AIIotStatisticsRecordVO> records2 = new ArrayList<>(); |
| | | // AIIotStatisticsRecordVO bi1 = new AIIotStatisticsRecordVO(); |
| | | // bi1.setMonth("2024-01"); |
| | | // bi1.setCount(273); |
| | | // AIIotStatisticsRecordVO bi2 = new AIIotStatisticsRecordVO(); |
| | | // bi2.setMonth("2023-12"); |
| | | // bi2.setCount(231); |
| | | // AIIotStatisticsRecordVO bi3 = new AIIotStatisticsRecordVO(); |
| | | // bi3.setMonth("2023-11"); |
| | | // bi3.setCount(303); |
| | | // AIIotStatisticsRecordVO bi4 = new AIIotStatisticsRecordVO(); |
| | | // bi4.setMonth("2023-10"); |
| | | // bi4.setCount(219); |
| | | // AIIotStatisticsRecordVO bi5 = new AIIotStatisticsRecordVO(); |
| | | // bi5.setMonth("2023-09"); |
| | | // bi5.setCount(245); |
| | | // AIIotStatisticsRecordVO bi6 = new AIIotStatisticsRecordVO(); |
| | | // bi6.setMonth("2023-08"); |
| | | // bi6.setCount(223); |
| | | // records2.add(bi1); |
| | | // records2.add(bi2); |
| | | // records2.add(bi3); |
| | | // records2.add(bi4); |
| | | // records2.add(bi5); |
| | | // records2.add(bi6); |
| | | // a2.setType(type2); |
| | | // a2.setRecords(records2); |
| | | // list.add(a2); |
| | | // |
| | | // AIIotStatisticsVO a3 = new AIIotStatisticsVO(); |
| | | // String type3 = "无照经营游商"; |
| | | // List<AIIotStatisticsRecordVO> records3 = new ArrayList<>(); |
| | | // AIIotStatisticsRecordVO ci1 = new AIIotStatisticsRecordVO(); |
| | | // ci1.setMonth("2024-01"); |
| | | // ci1.setCount(313); |
| | | // AIIotStatisticsRecordVO ci2 = new AIIotStatisticsRecordVO(); |
| | | // ci2.setMonth("2023-12"); |
| | | // ci2.setCount(247); |
| | | // AIIotStatisticsRecordVO ci3 = new AIIotStatisticsRecordVO(); |
| | | // ci3.setMonth("2023-11"); |
| | | // ci3.setCount(267); |
| | | // AIIotStatisticsRecordVO ci4 = new AIIotStatisticsRecordVO(); |
| | | // ci4.setMonth("2023-10"); |
| | | // ci4.setCount(249); |
| | | // AIIotStatisticsRecordVO ci5 = new AIIotStatisticsRecordVO(); |
| | | // ci5.setMonth("2023-09"); |
| | | // ci5.setCount(265); |
| | | // AIIotStatisticsRecordVO ci6 = new AIIotStatisticsRecordVO(); |
| | | // ci6.setMonth("2023-08"); |
| | | // ci6.setCount(306); |
| | | // records3.add(ci1); |
| | | // records3.add(ci2); |
| | | // records3.add(ci3); |
| | | // records3.add(ci4); |
| | | // records3.add(ci5); |
| | | // records3.add(ci6); |
| | | // a3.setType(type3); |
| | | // a3.setRecords(records3); |
| | | // list.add(a3); |
| | | // |
| | | // |
| | | // AIIotStatisticsVO a4 = new AIIotStatisticsVO(); |
| | | // String type4 = "占道经营"; |
| | | // List<AIIotStatisticsRecordVO> records4 = new ArrayList<>(); |
| | | // AIIotStatisticsRecordVO di1 = new AIIotStatisticsRecordVO(); |
| | | // di1.setMonth("2024-01"); |
| | | // di1.setCount(267); |
| | | // AIIotStatisticsRecordVO di2 = new AIIotStatisticsRecordVO(); |
| | | // di2.setMonth("2023-12"); |
| | | // di2.setCount(347); |
| | | // AIIotStatisticsRecordVO di3 = new AIIotStatisticsRecordVO(); |
| | | // di3.setMonth("2023-11"); |
| | | // di3.setCount(354); |
| | | // AIIotStatisticsRecordVO di4 = new AIIotStatisticsRecordVO(); |
| | | // di4.setMonth("2023-10"); |
| | | // di4.setCount(314); |
| | | // AIIotStatisticsRecordVO di5 = new AIIotStatisticsRecordVO(); |
| | | // di5.setMonth("2023-09"); |
| | | // di5.setCount(317); |
| | | // AIIotStatisticsRecordVO di6 = new AIIotStatisticsRecordVO(); |
| | | // di6.setMonth("2023-08"); |
| | | // di6.setCount(274); |
| | | // records4.add(di1); |
| | | // records4.add(di2); |
| | | // records4.add(di3); |
| | | // records4.add(di4); |
| | | // records4.add(di5); |
| | | // records4.add(di6); |
| | | // a4.setType(type4); |
| | | // a4.setRecords(records4); |
| | | // list.add(a4); |
| | | |
| | | return CommonResult.success(list); |
| | | } |
| | | } |