Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-devicemonitor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fdf25b4f
authored
Aug 25, 2023
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.23.0 添加设备定位和警情查询接口
1 parent
77395b45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/api/ApiTrackController.java
src/main/java/cn/com/glsx/devicemonitor/modules/api/ApiTrackController.java
View file @
fdf25b4
...
@@ -69,6 +69,12 @@ public class ApiTrackController {
...
@@ -69,6 +69,12 @@ public class ApiTrackController {
return
R
.
ok
().
data
(
responseList
);
return
R
.
ok
().
data
(
responseList
);
}
}
/**
* 根据设备号查询设备定位和警情接口
*
* @param request
* @return
*/
@GetMapping
(
value
=
"/getDeviceInformationBySn"
)
@GetMapping
(
value
=
"/getDeviceInformationBySn"
)
public
R
<
DeviceInformationDTO
>
getDeviceInformationBySn
(
@Validated
DeviceInformationRequest
request
)
{
public
R
<
DeviceInformationDTO
>
getDeviceInformationBySn
(
@Validated
DeviceInformationRequest
request
)
{
DeviceInformationDTO
deviceInformation
=
monitorService
.
getDeviceInformationBySn
(
request
.
getSn
(),
DeviceTypeRelationEnum
.
findByDeviceCode
(
request
.
getDeviceCode
()));
DeviceInformationDTO
deviceInformation
=
monitorService
.
getDeviceInformationBySn
(
request
.
getSn
(),
DeviceTypeRelationEnum
.
findByDeviceCode
(
request
.
getDeviceCode
()));
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment