|
@@ -25,6 +25,13 @@ public class PatrolInspectionDeviceController {
|
|
|
@Autowired
|
|
|
private PatrolInspectionDeviceService patrolInspectionDeviceService;
|
|
|
|
|
|
+ /**
|
|
|
+ * 巡检管理-巡检设备-新增
|
|
|
+ * @param inspectionDeviceName 巡检设备名称
|
|
|
+ * @param siteId 站点ID
|
|
|
+ * @param deviceTypeId 设备类型
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("patrolInspectionDeviceAdd")
|
|
|
public ApiResult<Void> patrolInspectionDeviceAdd(@RequestParam String inspectionDeviceName,
|
|
|
@RequestParam Integer siteId,
|
|
@@ -34,6 +41,11 @@ public class PatrolInspectionDeviceController {
|
|
|
return ApiResult.success();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 巡检管理-巡检设备-修改
|
|
|
+ * @param patrolInspectionDevice
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("patrolInspectionDeviceUpdate")
|
|
|
public ApiResult<Void> patrolInspectionDeviceUpdate(@RequestBody PatrolInspectionDevice patrolInspectionDevice
|
|
|
) {
|
|
@@ -41,6 +53,11 @@ public class PatrolInspectionDeviceController {
|
|
|
return ApiResult.success();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 巡检管理-巡检设备-注销
|
|
|
+ * @param id 巡检设备ID
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("patrolInspectionDeviceDel")
|
|
|
public ApiResult<Void> patrolInspectionDeviceDel(@RequestParam Integer id
|
|
|
) {
|
|
@@ -48,6 +65,13 @@ public class PatrolInspectionDeviceController {
|
|
|
return ApiResult.success();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 巡检管理-巡检设备-列表与回显查询
|
|
|
+ * @param id 巡检设备ID
|
|
|
+ * @param siteId 站点ID
|
|
|
+ * @param inspectionDeviceName 巡检设备名称
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("patrolInspectionDeviceList")
|
|
|
public ApiResult<List<PatrolInspectionDeviceVo>> patrolInspectionDeviceList(@RequestParam(value = "id", required = false, defaultValue = "0") Integer id,
|
|
|
@RequestParam(value = "siteId", required = false, defaultValue = "0") Integer siteId,
|