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 4a81bb37
authored
May 07, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加查询参数
1 parent
2f54e640
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/api/FeignStayPointController.java
src/main/java/cn/com/glsx/devicemonitor/modules/api/FeignStayPointController.java
View file @
4a81bb3
...
@@ -8,9 +8,11 @@ import com.glsx.plat.core.web.R;
...
@@ -8,9 +8,11 @@ import com.glsx.plat.core.web.R;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.cloud.openfeign.SpringQueryMap
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.List
;
...
@@ -31,7 +33,7 @@ public class FeignStayPointController implements StayPointFeignService {
...
@@ -31,7 +33,7 @@ public class FeignStayPointController implements StayPointFeignService {
@GetMapping
(
"/queryList"
)
@GetMapping
(
"/queryList"
)
@Override
@Override
public
R
<
List
<
StayPointRecordDTO
>>
getStayPointRecord
(
StayPointRequest
stayPointRequest
)
{
public
R
<
List
<
StayPointRecordDTO
>>
getStayPointRecord
(
@SpringQueryMap
StayPointRequest
stayPointRequest
)
{
List
<
StayPointRecordDTO
>
list
=
stayPointService
.
getStayPointRecord
(
stayPointRequest
);
List
<
StayPointRecordDTO
>
list
=
stayPointService
.
getStayPointRecord
(
stayPointRequest
);
return
R
.
ok
().
data
(
list
);
return
R
.
ok
().
data
(
list
);
}
}
...
...
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