|
@@ -10,6 +10,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* 设备管理-监控设备
|
|
|
*
|
|
@@ -65,6 +67,20 @@ public class DeviceAttributeController {
|
|
|
return ApiResult.success(deviceAttributeService.deviceNewsList(id, siteId, size, current));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param siteId 点位ID
|
|
|
+ * @param id 监控设备ID
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("deviceNewsListBox")
|
|
|
+ public ApiResult<List<DeviceAttribute>> deviceNewsListBox(@RequestParam(value = "siteId", required = false, defaultValue = "0") Integer siteId,
|
|
|
+ @RequestParam(value = "id", required = false, defaultValue = "0") Integer id
|
|
|
+ ) {
|
|
|
+ return ApiResult.success(deviceAttributeService.deviceNewsListBox(id, siteId));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 站点管理/设备管理-监控设备-注销
|
|
|
*
|