| | |
| | | OperateUser operateUser = operateUserService.updatePassword(uid,password,newpassword);
|
| | | return new AppData<OperateUser>(operateUser);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 根据 设备id 来获取设备信息
|
| | | */
|
| | | @RequestMapping("deviceInfo")
|
| | | public AppData<Device> deviceInfo(Integer id){
|
| | | Device device = deviceService.queryById(id);
|
| | | return new AppData<Device>(device);
|
| | | }
|
| | | /**
|
| | | *
|
| | | * @param equDeviceAdapter
|
| | |
| | | List<Device> getDevicesByMonitorPointId(Integer monitorPointId);
|
| | |
|
| | | List<Map<String,String>> queryDevicesState(List<String> macList,Boolean withData);
|
| | |
|
| | | Device queryById(Integer id);
|
| | | }
|
| | |
| | | }).collect(Collectors.toList());
|
| | | return list;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public Device queryById(Integer id) {
|
| | | return deviceMapper.selectByPrimaryKey(id);
|
| | | }
|
| | |
|
| | | }
|