Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 553d431b
authored
Dec 21, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加异常日志
1 parent
abdc2f8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/java/cn/com/glsx/stdinterface/modules/controller/DeviceLocationController.java
src/main/java/cn/com/glsx/stdinterface/modules/controller/DeviceLocationController.java
View file @
553d431
...
@@ -37,7 +37,8 @@ public class DeviceLocationController implements DeviceLocationClient {
...
@@ -37,7 +37,8 @@ public class DeviceLocationController implements DeviceLocationClient {
@PostMapping
(
value
=
"/saveorupdatedevicelocationdata"
)
@PostMapping
(
value
=
"/saveorupdatedevicelocationdata"
)
@SysLog
(
module
=
MODULE
,
value
=
"插入或者更新设备上点数据"
,
action
=
OperateType
.
EDIT
)
@SysLog
(
module
=
MODULE
,
value
=
"插入或者更新设备上点数据"
,
action
=
OperateType
.
EDIT
)
@ApiOperation
(
value
=
"插入或者更新设备上点数据"
)
@ApiOperation
(
value
=
"插入或者更新设备上点数据"
)
public
R
<
Integer
>
saveOrUpdateDeviceLocationData
(
Collection
<
DeviceLocationDto
>
deviceLocationDtos
)
{
@ResponseBody
public
R
saveOrUpdateDeviceLocationData
(
Collection
<
DeviceLocationDto
>
deviceLocationDtos
)
{
log
.
info
(
"插入或者更新设备上点数据大小==="
+
deviceLocationDtos
.
size
());
log
.
info
(
"插入或者更新设备上点数据大小==="
+
deviceLocationDtos
.
size
());
deviceLocationService
.
saveOrUpdateDeviceLocationData
(
deviceLocationDtos
);
deviceLocationService
.
saveOrUpdateDeviceLocationData
(
deviceLocationDtos
);
return
R
.
ok
();
return
R
.
ok
();
...
@@ -47,6 +48,7 @@ public class DeviceLocationController implements DeviceLocationClient {
...
@@ -47,6 +48,7 @@ public class DeviceLocationController implements DeviceLocationClient {
@GetMapping
(
value
=
"/getallsninneweshield"
)
@GetMapping
(
value
=
"/getallsninneweshield"
)
@SysLog
(
module
=
MODULE
,
value
=
"获取E盾中的所有设备号集合"
,
action
=
OperateType
.
QUERY
)
@SysLog
(
module
=
MODULE
,
value
=
"获取E盾中的所有设备号集合"
,
action
=
OperateType
.
QUERY
)
@ApiOperation
(
value
=
"获取E盾中的所有设备号集合"
)
@ApiOperation
(
value
=
"获取E盾中的所有设备号集合"
)
@ResponseBody
public
R
<
List
<
String
>>
getAllSnInNewEshield
()
{
public
R
<
List
<
String
>>
getAllSnInNewEshield
()
{
List
<
String
>
allSns
=
deviceLocationService
.
getAllSnInNewEshield
();
List
<
String
>
allSns
=
deviceLocationService
.
getAllSnInNewEshield
();
log
.
info
(
"E盾中的所有设备号==="
+
JSON
.
toJSONString
(
allSns
));
log
.
info
(
"E盾中的所有设备号==="
+
JSON
.
toJSONString
(
allSns
));
...
...
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