hanqingsong пре 1 година
родитељ
комит
b7447a7f2a

+ 6 - 0
src/main/java/com/chinaitop/depot/intelligent/devControl/controller/TDevControlController.java

@@ -53,4 +53,10 @@ public class TDevControlController {
53 53
         return ResponseEntity.ok(devControlService.deleteData(id));
54 54
     }
55 55
 
56
+    @GetMapping("/getById/{id}")
57
+    @ApiOperation(value = "设备配置详情", notes = "id获取详情")
58
+    public ResponseEntity<TDevControl> getById(@PathVariable("id") String id) {
59
+        return ResponseEntity.ok(devControlService.getById(id));
60
+    }
61
+
56 62
 }