|
|
@@ -94,4 +94,22 @@ public class DeviceInformationController extends BaseController {
|
|
|
return deviceInformationService.updataValveOpening(bridgeDeviceInformation.getId(), bridgeDeviceInformation.getValveOpening());
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 可视化查询智慧阀门列表
|
|
|
+ */
|
|
|
+ @GetMapping("/selectFmList")
|
|
|
+ public TableDataInfo selectFmList(DeviceInformation bridgeDeviceInformation) {
|
|
|
+ startPage();
|
|
|
+ List<DeviceInformation> list = deviceInformationService.selectDeviceInformationList(bridgeDeviceInformation);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 可视化获取智慧阀门详细信息
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/getFmInfo/{id}")
|
|
|
+ public AjaxResult getFmInfo(@PathVariable("id") Long id) {
|
|
|
+ return AjaxResult.success(deviceInformationService.selectDeviceInformationById(id));
|
|
|
+ }
|
|
|
+
|
|
|
}
|