| | |
| | | @GetMapping("/getLedPlayerEntityList") |
| | | public ResponseVO<Object> getLedPlayerEntityList() { |
| | | List<LedPlayerEntity> list = SpringContextHolder.getBean(LedPlayerEntityService.class). |
| | | ledPlayerEntityList(null, null); |
| | | ledPlayerEntityList(null, null, null, null); |
| | | |
| | | List<Map> mapList = new ArrayList<>(); |
| | | Map map; |
| | |
| | | |
| | | @GetMapping("/getNledProgeamList") |
| | | public ResponseVO<Object> getNledProgeamList() { |
| | | List<LEDProgram> ledPrograms = ledProgramService.listProgram(null, null); |
| | | List<LEDProgram> ledPrograms = ledProgramService.listProgram(null, null,null,null); |
| | | List<Map> mapList = new ArrayList<>(); |
| | | Map map; |
| | | for (LEDProgram bean : ledPrograms) { |
| | |
| | | |
| | | @GetMapping("/getSledList") |
| | | public ResponseVO<Object> getSledList() { |
| | | List<PoleLightemitEntity> poleLightemitEntities = sLedService.listLed(null, false); |
| | | List<PoleLightemitEntity> poleLightemitEntities = sLedService.listLed(null, null, null, false); |
| | | List<Map> mapList = new ArrayList<>(); |
| | | Map map; |
| | | for (PoleLightemitEntity bean : poleLightemitEntities) { |
| | |
| | | map.put("lightemitName", bean.getLightemitName()); |
| | | map.put("lightemitControlCode", bean.getLightemitControlCode()); |
| | | map.put("isOnLine", bean.isOnLine()); |
| | | map.put("streetlightId", bean.getPoleId()); |
| | | map.put("streetlightName", bean.getPoleName()); |
| | | map.put("streetlightId", bean.getStreetlightId()); |
| | | map.put("streetlightName", bean.getStreetlightName()); |
| | | mapList.add(map); |
| | | } |
| | | return ResponseUtil.success(mapList); |
| | |
| | | List<MonitorBo> monitorBos; |
| | | //超管 |
| | | if (SecurityUtils.getClientId() == null) { |
| | | monitorBos = monitorMapper.listMonitorDeviceSerial1(null, null, 2,null); |
| | | monitorBos = monitorMapper.listMonitorDeviceSerial1(null, null, 2, null); |
| | | } else { |
| | | monitorBos = monitorMapper.listMonitorDeviceSerial1(SecurityUtils.getUserId(), null, 2,null); |
| | | monitorBos = monitorMapper.listMonitorDeviceSerial1(SecurityUtils.getUserId(), null, 2, null); |
| | | } |
| | | List<Map> mapList = new ArrayList<>(); |
| | | Map map; |