From ee6db376a401ac8609c29ce456ba4e9ab82cef75 Mon Sep 17 00:00:00 2001 From: lishuai Date: Thu, 26 Sep 2024 11:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E5=85=B4=202024?= =?UTF-8?q?=E5=B9=B49=E6=9C=8826=E6=97=A511:57:34?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/source/controller/IotThingSourceController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/thing/src/main/java/com/thing/device/source/controller/IotThingSourceController.java b/modules/thing/src/main/java/com/thing/device/source/controller/IotThingSourceController.java index d3d7761..b0451fe 100644 --- a/modules/thing/src/main/java/com/thing/device/source/controller/IotThingSourceController.java +++ b/modules/thing/src/main/java/com/thing/device/source/controller/IotThingSourceController.java @@ -148,6 +148,12 @@ public class IotThingSourceController { return new Result>().ok(iotThingSourceService.attrGroup()); } + @GetMapping("maxSort") + @Operation(summary="最大序号") + public Result getMaxSort(@RequestParam String configType,@RequestParam Long fromId,@RequestParam Long rootId) { + return new Result().ok(iotThingSourceService.getMaxSort(configType,fromId,rootId)); + } + @PostMapping("attrGroupList") @Operation(summary="标签组") public Result> attrGroupRootId(@RequestBody IotThingSourceReqDTO iotThingSourceDTO) {