|
|
@@ -190,7 +190,7 @@ public class GbDeviceChannelController extends BladeController {
|
|
|
* 获取视频设备的经纬度坐标集合
|
|
|
*/
|
|
|
@GetMapping("/getVideoDeviceCoordinates")
|
|
|
- @ApiOperationSupport(order = 1)
|
|
|
+ @ApiOperationSupport(order = 10)
|
|
|
@ApiOperation(value = "详情", notes = "传入doorDevice")
|
|
|
public R getVideoDeviceCoordinates() {
|
|
|
List<GbDeviceChannel> list = gbDeviceChannelService.list(Condition.getQueryWrapper(new GbDeviceChannel()).lambda()
|
|
|
@@ -199,4 +199,14 @@ public class GbDeviceChannelController extends BladeController {
|
|
|
return R.data(list);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 编辑
|
|
|
+ */
|
|
|
+ @PostMapping("/edit")
|
|
|
+ @ApiOperationSupport(order = 11)
|
|
|
+ @ApiOperation(value = "修改", notes = "传入gbDeviceChannel")
|
|
|
+ public R edit(@RequestBody GbDeviceChannel gbDeviceChannel) {
|
|
|
+ return R.status(gbDeviceChannelService.updateById(gbDeviceChannel));
|
|
|
+ }
|
|
|
+
|
|
|
}
|