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) {