| | |
| | | List<Pole> poleList = SpringContextHolder.getBean(PoleService.class).listByIds(param.getPoleIdList()); |
| | | |
| | | // SpringContextHolder.getBean(LightService.class).list(Wrappers.lambdaQuery(Light.class).eq(Light::getDeviceCode, poleList.st)param.getPoleIdList()); |
| | | //根据灯杆code查询路灯信息 路灯code与灯杆code一一对应 |
| | | List<Light> lightList = SpringContextHolder.getBean(LightService.class).list(Wrappers.lambdaQuery(Light.class).in(Light::getDeviceCode, poleList.stream().map(Pole::getDeviceCode).toArray())); |
| | | String content = "{任务ID:" + lightTask.getTaskId() |
| | | + ", 任务名:" + lightTask.getTaskName() |
| | | + "},{内帧指令" + lightTask.getFramePayload() |