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 f6ff7276
authored
Sep 15, 2021
by
黄小葱
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
78eb5ffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/controller/MonitorController.java
src/main/java/cn/com/glsx/devicemonitor/modules/controller/MonitorController.java
View file @
f6ff727
...
@@ -62,7 +62,7 @@ public class MonitorController {
...
@@ -62,7 +62,7 @@ public class MonitorController {
* @return
* @return
*/
*/
@PostMapping
(
value
=
"/exporttrackpoint"
,
consumes
=
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
)
@PostMapping
(
value
=
"/exporttrackpoint"
,
consumes
=
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
)
public
void
exportTrackPoint
(
@
RequestBody
@
Validated
ExpTrackPointModel
expTrackPoint
)
{
public
void
exportTrackPoint
(
@Validated
ExpTrackPointModel
expTrackPoint
)
{
if
(
StringUtils
.
isBlank
(
expTrackPoint
.
getExpData
()))
{
if
(
StringUtils
.
isBlank
(
expTrackPoint
.
getExpData
()))
{
log
.
info
(
"导出数据为空"
);
log
.
info
(
"导出数据为空"
);
return
;
return
;
...
@@ -101,7 +101,7 @@ public class MonitorController {
...
@@ -101,7 +101,7 @@ public class MonitorController {
* @return
* @return
*/
*/
@PostMapping
(
value
=
"/exportstaypoint"
,
consumes
=
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
)
@PostMapping
(
value
=
"/exportstaypoint"
,
consumes
=
MediaType
.
APPLICATION_FORM_URLENCODED_VALUE
)
public
void
exportStayPoint
(
@
RequestBody
@
Validated
ExpStayPointRequest
spRequest
)
{
public
void
exportStayPoint
(
@Validated
ExpStayPointRequest
spRequest
)
{
if
(
StringUtils
.
isBlank
(
spRequest
.
getExpData
()))
{
if
(
StringUtils
.
isBlank
(
spRequest
.
getExpData
()))
{
throw
new
AdminException
(
"数据为空"
);
throw
new
AdminException
(
"数据为空"
);
}
}
...
...
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