Commit ca10e3ab by levphon

设备监控

1 parent b1d06f5d
...@@ -44,7 +44,7 @@ public class FeignDeviceController implements DeviceFeignService { ...@@ -44,7 +44,7 @@ public class FeignDeviceController implements DeviceFeignService {
@Override @Override
@GetMapping({"/getOrStoreDeviceBySn"}) @GetMapping({"/getOrStoreDeviceBySn"})
public R<DeviceDTO> getOrStoreDeviceBySn(@RequestParam(value = "sn") String sn, Boolean storeIfNotExists) { public R<DeviceDTO> getOrStoreDeviceBySn(@RequestParam(value = "sn") String sn, @RequestParam(value = "storeIfNotExists") Boolean storeIfNotExists) {
if (storeIfNotExists == null) { if (storeIfNotExists == null) {
storeIfNotExists = false; storeIfNotExists = false;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!